From d6a39a6a3d10867f31f73a6246e32404d9dc17d5 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 11 Nov 2007 23:18:59 +0000 Subject: Remove unused ge_content_changed. svn path=/trunk/; revision=7666 --- embed/ephy-embed.c | 20 -------------------- embed/ephy-embed.h | 2 -- embed/mozilla/mozilla-embed.cpp | 1 - 3 files changed, 23 deletions(-) (limited to 'embed') diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index cb1119b6d..af8329b4b 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -228,26 +228,6 @@ ephy_embed_base_init (gpointer g_class) G_TYPE_NONE, 1, G_TYPE_FLOAT); -/** - * EphyEmbed::ge-content-change: - * @embed: - * @uri: URI of the new content - * - * The ::ge_content_change signal is emitted when a new page content - * is being loaded into the browser. It's a good place to do view - * related changes, for example to restore the zoom level of a page - * or to set an user style sheet. - **/ - g_signal_new ("ge_content_change", - EPHY_TYPE_EMBED, - G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (EphyEmbedIface, content_change), - NULL, NULL, - g_cclosure_marshal_VOID__STRING, - G_TYPE_NONE, - 1, - G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE); - /** * EphyEmbed::ge-modal-alert: * @embed: diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 37f6e01bd..859ffdbe6 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -157,8 +157,6 @@ struct _EphyEmbedIface const char *features); void (* zoom_change) (EphyEmbed *embed, float new_zoom); - void (* content_change) (EphyEmbed *embed, - const char *uri); void (* content_blocked) (EphyEmbed *embed, const char *uri); gboolean (* modal_alert) (EphyEmbed *embed); diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index e3e56006a..6a2af9279 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -925,7 +925,6 @@ update_load_state (MozillaEmbed *membed, gint state) char *address; address = gtk_moz_embed_get_location (moz_embed); - g_signal_emit_by_name (membed, "ge_content_change", address); ephy_base_embed_restore_zoom_level (EPHY_BASE_EMBED (membed), address); g_free (address); } -- cgit v1.2.3