From ac8fa4fe7f3f05c67c3270c136defd4301c2906f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 28 Aug 2004 11:00:13 +0000 Subject: popup_menu signal handler has to return gboolean, not void. 2004-08-28 Christian Persch * src/bookmarks/ephy-topic-action.c: (popup_menu_cb), (ephy_topic_action_new): popup_menu signal handler has to return gboolean, not void. --- ChangeLog | 7 +++++++ src/bookmarks/ephy-topic-action.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0fc406500..f97b61a30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-08-28 Christian Persch + + * src/bookmarks/ephy-topic-action.c: (popup_menu_cb), + (ephy_topic_action_new): + + popup_menu signal handler has to return gboolean, not void. + 2004-08-28 Christian Persch * src/bookmarks/ephy-bookmark-action.c: (popup_menu_cb), 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; } - -- cgit v1.2.3