aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/ephy-dialog.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 400cd14ae..1ff42a126 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org>
+ * lib/ephy-dialog.c: (impl_construct):
+
+ Use connect_object for the dialog destroy signal, so
+ we dont unref the EphyDialog object two times.
+
+2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org>
+
* embed/mozilla/mozilla-embed-single.cpp:
Do not emit warning when language pack is not installed.
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 1b182e0aa..324d9b706 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1092,10 +1092,10 @@ impl_construct (EphyDialog *dialog,
dialog->priv->props = init_props (properties, gxml);
}
- g_signal_connect (dialog->priv->dialog,
- "destroy",
- G_CALLBACK(dialog_destroy_cb),
- dialog);
+ g_signal_connect_object (dialog->priv->dialog,
+ "destroy",
+ G_CALLBACK(dialog_destroy_cb),
+ dialog, 0);
g_object_unref (gxml);
}