aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-folder-list.c')
-rw-r--r--shell/e-folder-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-folder-list.c b/shell/e-folder-list.c
index 7aef708dae..518e193b78 100644
--- a/shell/e-folder-list.c
+++ b/shell/e-folder-list.c
@@ -559,7 +559,8 @@ e_folder_list_get_type (void)
GtkWidget*
e_folder_list_new (EvolutionShellClient *client, char *xml)
{
- GtkWidget *widget = GTK_WIDGET (gtk_type_new (e_folder_list_get_type ()));
+ GtkWidget *widget = GTK_WIDGET (g_object_new (e_folder_list_get_type (), NULL));
+
e_folder_list_construct (E_FOLDER_LIST (widget), client, xml);
return widget;
}