aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-12 07:18:59 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-12 07:18:59 +0800
commitd6a39a6a3d10867f31f73a6246e32404d9dc17d5 (patch)
treeaa434753a7bbb8686bf228fb96ab4ff1ef502011 /embed
parent0d4e69b6f75a8d341d83c7a8752254bc28d8dade (diff)
downloadgsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar.gz
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar.bz2
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar.lz
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar.xz
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.tar.zst
gsoc2013-epiphany-d6a39a6a3d10867f31f73a6246e32404d9dc17d5.zip
Remove unused ge_content_changed.
svn path=/trunk/; revision=7666
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c20
-rw-r--r--embed/ephy-embed.h2
-rw-r--r--embed/mozilla/mozilla-embed.cpp1
3 files changed, 0 insertions, 23 deletions
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
@@ -229,26 +229,6 @@ ephy_embed_base_init (gpointer g_class)
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);
}