aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-20 23:35:27 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-20 23:35:27 +0800
commit7d520e5258162fd396365ced44936376d9aad664 (patch)
treeb59593ba776720dc93be19cae947f5281d7ba9c5
parentce46693ea1ae7b8af42b001009a828e30e022795 (diff)
downloadgsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar.gz
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar.bz2
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar.lz
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar.xz
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.tar.zst
gsoc2013-epiphany-7d520e5258162fd396365ced44936376d9aad664.zip
Use connect_object for the dialog destroy signal, so we dont unref the
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.
-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);
}