From 64977cb1bcc55bf4c7c0fc38cd3d047b1e6a25c6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Apr 2007 18:53:33 +0000 Subject: Massive code cleanup (bug #429422) svn path=/trunk/; revision=33432 --- addressbook/printing/e-contact-print-style-editor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'addressbook/printing/e-contact-print-style-editor.c') diff --git a/addressbook/printing/e-contact-print-style-editor.c b/addressbook/printing/e-contact-print-style-editor.c index f5ac90bae0..3f945e28fe 100644 --- a/addressbook/printing/e-contact-print-style-editor.c +++ b/addressbook/printing/e-contact-print-style-editor.c @@ -128,8 +128,7 @@ e_contact_print_style_editor_destroy (GtkObject *object) GtkWidget* e_contact_print_style_editor_new (char *filename) { - GtkWidget *widget = GTK_WIDGET (gtk_type_new (e_contact_print_style_editor_get_type ())); - return widget; + return g_object_new (e_contact_print_style_editor_get_type (), NULL); } static void -- cgit v1.2.3