aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-26 23:58:45 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-26 23:58:45 +0800
commit185ea56fa4d1b5626ff1418a90d979f3cc15b108 (patch)
treeb2a0d73f5a11e480ef9eee8fee341a0193c361e6
parent8d4fdd9a0f51f292db61ecfbdfc7d1b617adaf7a (diff)
downloadgsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar.gz
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar.bz2
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar.lz
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar.xz
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.tar.zst
gsoc2013-epiphany-185ea56fa4d1b5626ff1418a90d979f3cc15b108.zip
Use connect_object to connect to the menu's deactivate signal. May fix bug
2005-07-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (button_toggled_cb): Use connect_object to connect to the menu's deactivate signal. May fix bug #309918.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-topic-action.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 122b2e23c..e68543d48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-26 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/bookmarks/ephy-topic-action.c: (button_toggled_cb):
+
+ Use connect_object to connect to the menu's deactivate
+ signal. May fix bug #309918.
+
2005-07-24 Christian Persch <chpe@cvs.gnome.org>
* data/ui/epiphany-ui.xml:
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 55f8953aa..1ca923fb2 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -694,8 +694,8 @@ button_toggled_cb (GtkWidget *button,
guint event_button = 0;
menu = build_menu (action);
- g_signal_connect (menu, "deactivate",
- G_CALLBACK (menu_deactivate_cb), button);
+ g_signal_connect_object (menu, "deactivate",
+ G_CALLBACK (menu_deactivate_cb), button, 0);
event = gtk_get_current_event ();
if (event != NULL)