aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-11 18:19:04 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-11 18:19:04 +0800
commit7beb933c60288ce8e5756e591a089a82ab1c6b6c (patch)
tree06e3ab839f705249f1ee3e17d2a920133a97916a /embed/ephy-embed-single.c
parent760bb6dfe800fb1edd33d158ee19bd898f09fb2e (diff)
downloadgsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.gz
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.bz2
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.lz
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.xz
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.zst
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.zip
Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and
2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * 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.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c20
1 files changed, 0 insertions, 20 deletions
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 <string.h>
-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));
}