From cbd3b67ea03a1c4c4333f88a2bb569df62678645 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Thu, 29 Apr 2010 14:07:34 +0530 Subject: Bug #609052 - Crash printing contacts in List View The returned widget does not have a reference added, so you do not need to unref it. --- addressbook/gui/widgets/e-addressbook-view.c | 1 - 1 file changed, 1 deletion(-) diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 1e9b732861..01605f3781 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1239,7 +1239,6 @@ e_addressbook_view_print (EAddressbookView *view, widget = gtk_bin_get_child (GTK_BIN (view)); printable = e_table_get_printable (E_TABLE (widget)); g_object_ref_sink (printable); - g_object_unref (widget); e_contact_print_button (printable, action); -- cgit v1.2.3