Fixes the new folder dialog in Diablo
authorSergio Villar Senin <svillar@igalia.com>
Mon, 9 Mar 2009 11:56:43 +0000 (11:56 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 9 Mar 2009 11:56:43 +0000 (11:56 +0000)
pmo-trunk-r7845

src/maemo/modest-platform.c

index 0eca33f..5472fbe 100644 (file)
@@ -792,7 +792,7 @@ modest_platform_run_new_folder_dialog (GtkWindow *parent_window,
                g_free(real_suggested_name);
 
        if (parent_folder != NULL) {
-               parent_folder = suggested_parent?g_object_ref (suggested_parent): NULL;
+               *parent_folder = suggested_parent?g_object_ref (suggested_parent): NULL;
        }
 
        return result;