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 | |
parent | 61f1784c134b5126864d43c1839439f66fda92b0 (diff) | |
download | gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.gz gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.bz2 gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.lz gsoc2013-epiphany-2c4872759bb9ec3fe2e971824ad9f887f6d2ba24.tar.xz 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 7 |
2 files changed, 12 insertions, 2 deletions
@@ -1,5 +1,12 @@ 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. + +2004-08-28 Christian Persch <chpe@cvs.gnome.org> + * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): 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); } |