aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 721ec40a27..45f9ae2bc9 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -1149,7 +1149,7 @@ e_local_storage_open (EFolderTypeRegistry *folder_type_registry,
g_return_val_if_fail (E_IS_FOLDER_TYPE_REGISTRY (folder_type_registry), NULL);
g_return_val_if_fail (base_path != NULL, NULL);
- new = gtk_type_new (e_local_storage_get_type ());
+ new = g_object_new (e_local_storage_get_type (), NULL);
if (! construct (E_LOCAL_STORAGE (new), folder_type_registry, base_path)) {
g_object_unref (new);