aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2003-04-17 02:41:06 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-17 02:41:06 +0800
commite89d190c6c6ecaaa4e367835c5fddb549325b3f2 (patch)
tree98e2637b3c7e4625a952af59a1bbe4bc0167493f /embed/ephy-embed-single.c
parent8b70f35b46a84e6ebaf11471e707b8fe2dcdb4c7 (diff)
downloadgsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar.gz
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar.bz2
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar.lz
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar.xz
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.tar.zst
gsoc2013-epiphany-e89d190c6c6ecaaa4e367835c5fddb549325b3f2.zip
Moved the new_window_orphan signal to EphyEmbedSingle.
2003-04-16 Dave Camp <dave@ximian.com> * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * src/ephy-shell.c: (ephy_shell_init): Moved the new_window_orphan signal to EphyEmbedSingle.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index dd83b8039..071ed1b48 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -26,6 +26,12 @@
#include <string.h>
+enum
+{
+ NEW_WINDOW,
+ LAST_SIGNAL
+};
+
struct EphyEmbedSinglePrivate
{
EphyHistory *global_history;
@@ -42,6 +48,7 @@ static void
ephy_embed_single_finalize (GObject *object);
static GObjectClass *parent_class = NULL;
+static guint ephy_embed_single_signals[LAST_SIGNAL] = { 0 };
GType
ephy_embed_single_get_type (void)
@@ -79,6 +86,18 @@ ephy_embed_single_class_init (EphyEmbedSingleClass *klass)
parent_class = (GObjectClass *) g_type_class_peek_parent (klass);
object_class->finalize = ephy_embed_single_finalize;
+
+ 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);
}
static void