diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-embed.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 14 |
3 files changed, 8 insertions, 15 deletions
@@ -1,5 +1,12 @@ 2004-12-19 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-embed.c: (ephy_embed_base_init): + * src/ephy-window.c: + + Fix the build. + +2004-12-19 Christian Persch <chpe@cvs.gnome.org> + * configure.ac: Check for -Wdeclaration-after-statement, it's not universally available. diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 5e43262f6..83b2948c0 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -151,7 +151,7 @@ ephy_embed_base_init (gpointer g_class) g_signal_new ("ge_context_menu", EPHY_TYPE_EMBED, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (EphyEmbedIface, dom_context_menu), + G_STRUCT_OFFSET (EphyEmbedIface, context_menu), g_signal_accumulator_true_handled, NULL, ephy_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, diff --git a/src/ephy-window.c b/src/ephy-window.c index ec33e5e48..238bf10d7 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2430,20 +2430,6 @@ open_bookmark_cb (EphyBookmarksMenu *menu, } static void -ensure_window_group (EphyWindow *window) -{ - GtkWindowGroup *group; - - group = GTK_WINDOW (window)->group; - if (group == NULL) - { - group = gtk_window_group_new (); - gtk_window_group_add_window (group, GTK_WINDOW (window)); - g_object_unref (group); - } -} - -static void ephy_window_init (EphyWindow *window) { EphyExtension *manager; |