From f220f9282e63ca352def47b86ec5f9c5c5c57696 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 17 Jan 2006 13:58:21 +0000 Subject: Add event type to the callback. 2006-01-17 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb): * lib/ephy-file-helpers.h: Add event type to the callback. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: New function, like NS_NewFileURI (which we can't use since nsNetUtil.h conflicts with embed strings). * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: Check that the user CSS file exists before registering it. Also handle file-deleted events. * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_build): * src/bookmarks/ephy-topics-palette.c: (ephy_topics_palette_constructor), (ephy_topics_palette_class_init): Build fixes. --- src/bookmarks/ephy-bookmarks-menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bookmarks/ephy-bookmarks-menu.c') diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c index 15126fd11..71f7ba3b4 100644 --- a/src/bookmarks/ephy-bookmarks-menu.c +++ b/src/bookmarks/ephy-bookmarks-menu.c @@ -252,10 +252,12 @@ ephy_bookmarks_menu_build (GString *string, EphyNode *parent) /* Otherwise, build the menu with "Open in tabs". */ else { + char *name; + append_menu (string, topics, children, flags); g_ptr_array_free (topics, TRUE); - char *name = ephy_open_tabs_action_name (node); + name = ephy_open_tabs_action_name (node); g_string_append_printf (string, "", name); g_free (name); -- cgit v1.2.3