aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/e-contact-print-style-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/printing/e-contact-print-style-editor.c')
-rw-r--r--addressbook/printing/e-contact-print-style-editor.c3
1 files changed, 1 insertions, 2 deletions
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