aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-07 03:46:44 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-07 03:46:44 +0800
commit6ce6dcec222876facc94b64747ca10e6d6144591 (patch)
tree484cbe7f334d0f61185daab0a389ffc47af45d87
parent843b31a0eddb2e88e565abb657f32f85994b0c0f (diff)
downloadgsoc2013-epiphany-6ce6dcec222876facc94b64747ca10e6d6144591.tar.gz
gsoc2013-epiphany-6ce6dcec222876facc94b64747ca10e6d6144591.tar.zst
gsoc2013-epiphany-6ce6dcec222876facc94b64747ca10e6d6144591.zip
Do not bother emitting signal we don't have.
svn path=/trunk/; revision=7518
-rw-r--r--embed/webkit/webkit-embed.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp
index c9364a694..204b6dfe5 100644
--- a/embed/webkit/webkit-embed.cpp
+++ b/embed/webkit/webkit-embed.cpp
@@ -105,8 +105,7 @@ webkit_embed_title_changed_cb (WebKitFrame *frame,
* without changing location or change location without changing title
*/
- g_signal_emit_by_name (embed, "ge-location", location, NULL);
- g_signal_emit_by_name (embed, "title", title, NULL);
+ g_signal_emit_by_name (embed, "ge-location", location);
}
static void
@@ -176,8 +175,6 @@ webkit_embed_load_finished_cb (WebKitPage *page,
wembed->priv->load_state = WEBKIT_EMBED_LOAD_STOPPED;
update_load_state (wembed, page);
-
- g_signal_emit_by_name (embed, "net-stop", NULL);
}
static void