X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-platform.c;h=5472fbe97f1a334993c26c5bcc00bedd924b4f7d;hp=6677eab006055aced818d13e7f53e0699c002546;hb=027bd4e81f906263a15a732d2707b1fcec630872;hpb=ab5e47a8570068f507a26a148a0dbecbb51c1bab diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index 6677eab..5472fbe 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -791,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;