aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
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 /lib/ephy-dialog.c
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.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c8
1 files changed, 4 insertions, 4 deletions
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);
}