GError *error = NULL;
o.lpstrFile = g_malloc0(MAXPATHLEN);
- if (!_file_open_dialog(title, path, filter, FALSE)) {
+ if (!_file_open_dialog(path, title, filter, FALSE)) {
g_free(o.lpstrFile);
return NULL;
}
GError *error = NULL;
o.lpstrFile = g_malloc0(MAXPATHLEN);
- if (!_file_open_dialog(title, path, filter, TRUE)) {
+ if (!_file_open_dialog(path, title, filter, TRUE)) {
g_free(o.lpstrFile);
return NULL;
}