From d698eb5b87aa10c888944fbf2db066af2df987bd Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 11 Nov 2007 23:18:40 +0000 Subject: Remove unused ge-location signal. svn path=/trunk/; revision=7664 --- embed/ephy-embed.c | 21 --------------------- embed/ephy-embed.h | 2 -- embed/mozilla/mozilla-embed.cpp | 1 - 3 files changed, 24 deletions(-) (limited to 'embed') diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 43917ddca..36a445e23 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -174,27 +174,6 @@ ephy_embed_base_init (gpointer g_class) G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE); -/** - * EphyEmbed::ge-location: - * @embed: - * @address: the new URL @embed is visiting - * - * The ::ge_location signal is emitted when @embed begins to load a new web - * page. For example, if the user clicks on a link or enters an address or if - * the previous web page had JavaScript or a META REFRESH tag. - * - * The ::ge_location signal will be emitted even when @embed is simply - * refreshing the same web page. - **/ - g_signal_new ("ge_location", - EPHY_TYPE_EMBED, - G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (EphyEmbedIface, location), - NULL, NULL, - g_cclosure_marshal_VOID__STRING, - G_TYPE_NONE, - 1, - G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE); /** * EphyEmbed::ge-net-state: * @embed: diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 77cbd29ec..845081a22 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -145,8 +145,6 @@ struct _EphyEmbedIface const char *type, const char *title, const char *address); - void (* location) (EphyEmbed *embed, - const char *location); void (* net_state) (EphyEmbed *embed, const char *uri, EphyEmbedNetState state); diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index aa4795d08..6f91b42f8 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -861,7 +861,6 @@ mozilla_embed_location_changed_cb (GtkMozEmbed *embed, EphyBaseEmbed *bembed = EPHY_BASE_EMBED (membed); location = gtk_moz_embed_get_location (embed); - g_signal_emit_by_name (membed, "ge_location", location); ephy_base_embed_location_changed (bembed, location); -- cgit v1.2.3