From 8dd9ad57a1f3e8829047040c537c851a86a81b23 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 27 Jan 2003 20:13:57 +0000 Subject: dont leak signals, ported from galeon 2003-01-27 Marco Pesenti Gritti * embed/ephy-embed.c: (ephy_embed_base_init): dont leak signals, ported from galeon --- embed/ephy-embed.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'embed') 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; } } -- cgit v1.2.3