aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-28 19:00:13 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-28 19:00:13 +0800
commitac8fa4fe7f3f05c67c3270c136defd4301c2906f (patch)
treeefe40742b81f64076219eb1b8320a34e03c157b0
parent2c4872759bb9ec3fe2e971824ad9f887f6d2ba24 (diff)
downloadgsoc2013-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.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-topic-action.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fc406500..f97b61a30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}
-