From 7beb933c60288ce8e5756e591a089a82ab1c6b6c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 11 Nov 2003 10:19:04 +0000 Subject: Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and 2003-11-11 Marco Pesenti Gritti * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs. --- embed/ephy-embed-single.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'embed/ephy-embed-single.c') diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c index c09a0defa..359b33069 100644 --- a/embed/ephy-embed-single.c +++ b/embed/ephy-embed-single.c @@ -31,12 +31,6 @@ #include -enum -{ - NEW_WINDOW, - LAST_SIGNAL -}; - #define EPHY_EMBED_SINGLE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_EMBED_SINGLE, EphyEmbedSinglePrivate)) struct EphyEmbedSinglePrivate @@ -53,8 +47,6 @@ ephy_embed_single_init (EphyEmbedSingle *ges); static GObjectClass *parent_class = NULL; -static guint ephy_embed_single_signals[LAST_SIGNAL] = { 0 }; - GType ephy_embed_single_get_type (void) { @@ -90,18 +82,6 @@ ephy_embed_single_class_init (EphyEmbedSingleClass *klass) parent_class = (GObjectClass *) g_type_class_peek_parent (klass); - ephy_embed_single_signals[NEW_WINDOW] = - g_signal_new ("new_window_orphan", - G_OBJECT_CLASS_TYPE (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (EphyEmbedSingleClass, new_window), - NULL, NULL, - ephy_marshal_VOID__POINTER_INT, - G_TYPE_NONE, - 2, - G_TYPE_POINTER, - G_TYPE_INT); - g_type_class_add_private (object_class, sizeof(EphyEmbedSinglePrivate)); } -- cgit v1.2.3