[evolution] Bug #609052 - Crash printing contacts in List View



commit cbd3b67ea03a1c4c4333f88a2bb569df62678645
Author: Bharath Acharya <abharath novell com>
Date:   Thu Apr 29 14:07:34 2010 +0530

    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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 1e9b732..01605f3 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]