diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 6 |
2 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,12 @@ 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. + +2004-08-28 Christian Persch <chpe@cvs.gnome.org> + * src/bookmarks/ephy-bookmark-action.c: (popup_menu_cb), (ephy_bookmark_action_finalize): 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; } - |