aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-28 04:13:57 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-28 04:13:57 +0800
commit8dd9ad57a1f3e8829047040c537c851a86a81b23 (patch)
treedc90af601e87c6b6d206ae32be49e281eec5b6ac
parentb4ccfc8ea4cf00327a44cb814997d8ede9cd1706 (diff)
downloadgsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar.gz
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar.bz2
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar.lz
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar.xz
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.tar.zst
gsoc2013-epiphany-8dd9ad57a1f3e8829047040c537c851a86a81b23.zip
dont leak signals, ported from galeon
2003-01-27 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): dont leak signals, ported from galeon
-rw-r--r--ChangeLog6
-rw-r--r--embed/ephy-embed.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e97c6be83..8a2e44cb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-01-27 Marco Pesenti Gritti <marco@it.gnome.org>
+ * embed/ephy-embed.c: (ephy_embed_base_init):
+
+ dont leak signals, ported from galeon
+
+2003-01-27 Marco Pesenti Gritti <marco@it.gnome.org>
+
* configure.in:
* data/ui/epiphany-toolbar.xml.in:
* lib/widgets/ephy-editable-toolbar.c: (copy_toolbars),
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index b12a9c732..6c8b98aaa 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -85,7 +85,7 @@ ephy_embed_base_init (gpointer g_class)
{
static gboolean initialized = FALSE;
- if (! initialized)
+ if (!initialized)
{
ephy_embed_signals[NEW_WINDOW] =
g_signal_new ("ge_new_window",
@@ -249,6 +249,7 @@ ephy_embed_base_init (gpointer g_class)
G_TYPE_NONE,
1,
G_TYPE_INT);
+ initialized = TRUE;
}
}