aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-27 00:50:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-27 00:50:32 +0800
commitd66a3acaab3c670737d59d002186881855aa582a (patch)
tree27fdd6976ed8865030ec07449d06185f86a50d7a /src/ephy-window.c
parent3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15 (diff)
downloadgsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.gz
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.tar.zst
gsoc2013-epiphany-d66a3acaab3c670737d59d002186881855aa582a.zip
Fix compiler warnings.
2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b7c1ad036..428830d49 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1559,9 +1559,12 @@ popup_menu_at_coords (GtkMenu *menu, gint *x, gint *y, gboolean *push_in,
static void
hide_embed_popup_cb (GtkWidget *popup,
- EphyWindow *window)
+ EphyWindow *window)
{
enable_edit_actions_sensitivity (window);
+
+ g_signal_handlers_disconnect_by_func
+ (popup, G_CALLBACK (hide_embed_popup_cb), window);
}
static void