diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-28 18:56:29 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-28 18:56:29 +0800 |
commit | 2c4872759bb9ec3fe2e971824ad9f887f6d2ba24 (patch) | |
tree | b39297d8ed7a3545da17f982799c038d348d6e7c /src/bookmarks | |
parent | 61f1784c134b5126864d43c1839439f66fda92b0 (diff) | |
download | gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.gz gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.zst gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.zip |
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):
popup_menu signal handler has to return gboolean, not void.
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c index 101d9e07c..52dad678b 100644 --- a/src/bookmarks/ephy-bookmark-action.c +++ b/src/bookmarks/ephy-bookmark-action.c @@ -586,14 +586,17 @@ show_context_menu (EphyBookmarkAction *action, GtkWidget *proxy, gtk_get_current_event_time ()); } -static void +static gboolean popup_menu_cb (GtkWidget *widget, EphyBookmarkAction *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 @@ -783,7 +786,7 @@ ephy_bookmark_action_finalize (GObject *object) g_free (eba->priv->location); g_free (eba->priv->icon); - LOG ("Bookmark action finalized") + LOG ("Bookmark action %p finalized", object) G_OBJECT_CLASS (parent_class)->finalize (object); } |