aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-08-14 15:18:18 +0800
committerHans Petter <hansp@src.gnome.org>2003-08-14 15:18:18 +0800
commit6d45ed28597a85c6b5dfa49aeeaf3911da76cf77 (patch)
treee317252d95d4df6ef75f10088d1372c1978b6e7b /addressbook/printing
parent7a208fc48c41e901d527eab89cb103f3c999ad86 (diff)
downloadgsoc2013-evolution-6d45ed28597a85c6b5dfa49aeeaf3911da76cf77.tar.gz
gsoc2013-evolution-6d45ed28597a85c6b5dfa49aeeaf3911da76cf77.tar.zst
gsoc2013-evolution-6d45ed28597a85c6b5dfa49aeeaf3911da76cf77.zip
Chain.
2003-08-12 Hans Petter Jansson <hpj@ximian.com> * backend/ebook/e-destination.c (e_destination_dispose): Chain. * gui/component/e-address-widget.c (e_address_widget_destroy): Chain. Prevent double frees. Prevent double GSource removal. * gui/component/e-cardlist-model.c (e_cardlist_model_class_init): Store parent class. (e_cardlist_model_dispose): Chain. Prevent double frees and unrefs. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_dispose): Chain. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_dispose): Chain. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Chain. * gui/contact-list-editor/e-contact-list-model.c (contact_list_model_destroy): Chain. Prevent double frees and unrefs. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose): Chain. (addressbook_finalize): Chain. * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): Chain. * gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy): Chain. Prevent double free. * gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose): Chain. Prevent double free and detach. * gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose): Chain. Prevent double free and detach. * printins/e-contact-print-style-editor.c (e_contact_print_stule_editor_destroy): Chain. Prevent double unref. svn path=/trunk/; revision=22229
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print-style-editor.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/printing/e-contact-print-style-editor.c b/addressbook/printing/e-contact-print-style-editor.c
index 9267fc0c99..436aaddff0 100644
--- a/addressbook/printing/e-contact-print-style-editor.c
+++ b/addressbook/printing/e-contact-print-style-editor.c
@@ -111,7 +111,13 @@ void
e_contact_print_style_editor_destroy (GtkObject *object)
{
EContactPrintStyleEditor *e_contact_print_style_editor = E_CONTACT_PRINT_STYLE_EDITOR(object);
- g_object_unref(e_contact_print_style_editor->gui);
+
+ if (e_contact_print_style_editor->gui != NULL) {
+ g_object_unref(e_contact_print_style_editor->gui);
+ e_contact_print_style_editor->gui = NULL;
+ }
+
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
GtkWidget*