From c04b54c0ee70c594e440c039cddb22551be05809 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 19 Dec 2004 13:26:37 +0000 Subject: Fix the build. 2004-12-19 Christian Persch * embed/ephy-embed.c: (ephy_embed_base_init): * src/ephy-window.c: Fix the build. --- ChangeLog | 7 +++++++ embed/ephy-embed.c | 2 +- src/ephy-window.c | 14 -------------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b3287594..dcb1e92e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-12-19 Christian Persch + + * embed/ephy-embed.c: (ephy_embed_base_init): + * src/ephy-window.c: + + Fix the build. + 2004-12-19 Christian Persch * configure.ac: 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 @@ -2429,20 +2429,6 @@ open_bookmark_cb (EphyBookmarksMenu *menu, ephy_window_load_url (window, location); } -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) { -- cgit v1.2.3