aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-23 23:46:58 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-23 23:46:58 +0800
commitae406f215282f65b7179ffbbe94eb1ce69768099 (patch)
tree9712fdc7129c54c8280d17a3422af6e8113e1420 /embed/ephy-embed.c
parent98224f1760350ef3dfe6d8062d2c0627c02eb150 (diff)
downloadgsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.gz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.bz2
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.lz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.xz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.zst
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.zip
A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A
2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 83b2948c0..3f8c68ba3 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -23,6 +23,7 @@
#include "ephy-embed.h"
#include "ephy-marshal.h"
+#include "ephy-signal-accumulator.h"
#include "mozilla-embed-single.h"
#include "mozilla-embed.h"
@@ -104,22 +105,21 @@ ephy_embed_base_init (gpointer g_class)
/**
* EphyEmbed::ge-new-window:
* @embed:
- * @new_embed: a newly-generated child #EphyEmbed
- * @mask: @new_embed's #EphyChromeMask
+ * @mask: a #EphyChromeMask
*
* The ::ge_new_window signal is emitted when a new window has been opened by
* the embed. For example, when a JavaScript popup window is opened.
+ * Return a new #EphyEmbed.
**/
g_signal_new ("ge_new_window",
EPHY_TYPE_EMBED,
- G_SIGNAL_RUN_FIRST,
+ G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EphyEmbedIface, new_window),
- NULL, NULL,
- ephy_marshal_VOID__POINTER_INT,
- G_TYPE_NONE,
- 2,
- G_TYPE_POINTER,
- G_TYPE_INT);
+ ephy_signal_accumulator_object, ephy_embed_get_type,
+ ephy_marshal_OBJECT__ENUM,
+ G_TYPE_OBJECT,
+ 1,
+ EPHY_TYPE_EMBED_CHROME_MASK);
/**
* EphyEmbed::ge-popup-blocked:
* @embed: