]> git.itanic.dy.fi Git - maemo-mapper/commitdiff
Fixed issue with the "Change Folder" dialog when exporting POI to GPX
authorgnuite <gnuite@gmail.com>
Sun, 9 Mar 2008 20:41:41 +0000 (20:41 +0000)
committergnuite <gnuite@gmail.com>
Sun, 9 Mar 2008 20:41:41 +0000 (20:41 +0000)
(closes #2217)

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@158 6c538b50-5814-0410-93ad-8bdf4c0149d1

src/display.c

index 35b787045e3717b24d8911b0eb440f8f55944f79..313f3e849db6662e9de6505c41c96b8d423f24eb 100644 (file)
@@ -2474,7 +2474,7 @@ display_open_file(GtkWidget *parent, gchar **bytes_out,
     gboolean success = FALSE;
     printf("%s()\n", __PRETTY_FUNCTION__);
 
-    dialog= hildon_file_chooser_dialog_new(GTK_WINDOW(_window),chooser_action);
+    dialog = hildon_file_chooser_dialog_new(parent, chooser_action);
 
     if(dir && *dir)
         gtk_file_chooser_set_current_folder_uri(