diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-28 19:00:13 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-28 19:00:13 +0800 |
commit | ac8fa4fe7f3f05c67c3270c136defd4301c2906f (patch) | |
tree | efe40742b81f64076219eb1b8320a34e03c157b0 /src | |
parent | 2c4872759bb9ec3fe2e971824ad9f887f6d2ba24 (diff) | |
download | gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar.gz gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar.bz2 gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar.lz gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar.xz gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.tar.zst gsoc2013-epiphany-ac8fa4fe7f3f05c67c3270c136defd4301c2906f.zip |
popup_menu signal handler has to return gboolean, not void.
2004-08-28 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-topic-action.c: (popup_menu_cb),
(ephy_topic_action_new):
popup_menu signal handler has to return gboolean, not void.
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c index 6b162ba39..26dc742cf 100644 --- a/src/bookmarks/ephy-topic-action.c +++ b/src/bookmarks/ephy-topic-action.c @@ -758,14 +758,17 @@ show_context_menu (EphyTopicAction *action, GtkWidget *proxy, gtk_get_current_event_time ()); } -static void +static gboolean popup_menu_cb (GtkWidget *widget, EphyTopicAction *action) { if (gtk_widget_get_ancestor (widget, EPHY_TYPE_BOOKMARKSBAR)) { show_context_menu (action, widget, ephy_gui_menu_position_under_widget); + return TRUE; } + + return FALSE; } static gboolean @@ -1049,4 +1052,3 @@ ephy_topic_action_new (const char *name, guint id) return action; } - |