[evolution/gnome-2-30] Bug #617150 - Crash printing contacts in List View



commit a8801c8c87269d0d98b9915f0268097c8117f297
Author: Bharath Acharya <abharath novell com>
Date:   Thu Apr 29 14:10:25 2010 +0530

    Bug #617150 - 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 6ffeee5..d353889 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1237,7 +1237,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]