aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-12 07:18:49 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-12 07:18:49 +0800
commit0d4e69b6f75a8d341d83c7a8752254bc28d8dade (patch)
treeb5d1a30e4ace7a1e0df7b7900ea23219101f871e /embed
parentd698eb5b87aa10c888944fbf2db066af2df987bd (diff)
downloadgsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar.gz
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar.bz2
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar.lz
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar.xz
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.tar.zst
gsoc2013-epiphany-0d4e69b6f75a8d341d83c7a8752254bc28d8dade.zip
Remove unused ge_net_state and ge_security_change.
svn path=/trunk/; revision=7665
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c38
-rw-r--r--embed/ephy-embed.h5
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
-rw-r--r--embed/webkit/webkit-embed.cpp3
4 files changed, 0 insertions, 48 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 36a445e23..cb1119b6d 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -175,26 +175,6 @@ ephy_embed_base_init (gpointer g_class)
G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
- * EphyEmbed::ge-net-state:
- * @embed:
- * @uri: the URI @embed is loading
- * @state: the #EmbedState of @embed
- *
- * The ::ge_net_state signal is emitted when @embed's network negotiation state
- * changes. For example, this will indicate when page loading is complete or
- * cancelled.
- **/
- g_signal_new ("ge_net_state",
- EPHY_TYPE_EMBED,
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (EphyEmbedIface, net_state),
- NULL, NULL,
- ephy_marshal_VOID__STRING_FLAGS,
- G_TYPE_NONE,
- 2,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- EPHY_TYPE_EMBED_NET_STATE);
-/**
* EphyEmbed::ge-dom-mouse-click:
* @embed:
* @event: the #EphyEmbedEvent which triggered this signal
@@ -228,24 +208,6 @@ ephy_embed_base_init (gpointer g_class)
1,
G_TYPE_OBJECT);
/**
- * EphyEmbed::ge-security-change:
- * @embed:
- * @level: @embed's new #EphyEmbedSecurityLevel
- *
- * The ::ge_security_change signal is emitted when the security level of @embed
- * changes. For example, this will happen when the user browses from an
- * insecure website to an SSL-secured one.
- **/
- g_signal_new ("ge_security_change",
- EPHY_TYPE_EMBED,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (EphyEmbedIface, security_change),
- NULL, NULL,
- g_cclosure_marshal_VOID__ENUM,
- G_TYPE_NONE,
- 1,
- EPHY_TYPE_EMBED_SECURITY_LEVEL);
-/**
* EphyEmbed::ge-zoom-change:
* @embed:
* @zoom: @embed's new zoom level
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 845081a22..37f6e01bd 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -145,9 +145,6 @@ struct _EphyEmbedIface
const char *type,
const char *title,
const char *address);
- void (* net_state) (EphyEmbed *embed,
- const char *uri,
- EphyEmbedNetState state);
gboolean (* dom_mouse_click) (EphyEmbed *embed,
EphyEmbedEvent *event);
gboolean (* dom_mouse_down) (EphyEmbed *embed,
@@ -158,8 +155,6 @@ struct _EphyEmbedIface
const char *address,
const char *target,
const char *features);
- void (* security_change) (EphyEmbed *embed,
- EphyEmbedSecurityLevel level);
void (* zoom_change) (EphyEmbed *embed,
float new_zoom);
void (* content_change) (EphyEmbed *embed,
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 6f91b42f8..e3e56006a 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -974,8 +974,6 @@ mozilla_embed_net_state_all_cb (GtkMozEmbed *embed, const char *aURI,
update_load_state (membed, state);
ephy_base_embed_update_from_net_state (EPHY_BASE_EMBED (membed), aURI, (EphyEmbedNetState)estate);
-
- g_signal_emit_by_name (membed, "ge_net_state", aURI, /* FIXME: (gulong) */ estate);
}
static gboolean
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp
index 6a465ddc0..63457dfe1 100644
--- a/embed/webkit/webkit-embed.cpp
+++ b/embed/webkit/webkit-embed.cpp
@@ -137,9 +137,6 @@ update_load_state (WebKitEmbed *embed, WebKitPage *page)
ephy_base_embed_update_from_net_state (EPHY_BASE_EMBED (embed),
embed->priv->loading_uri,
(EphyEmbedNetState)estate);
-
- g_signal_emit_by_name (EPHY_EMBED (embed), "ge_net_state",
- embed->priv->loading_uri, estate);
}
static void