aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmark-action.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c5226f5e..0fc406500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}