]> err.no Git - mapper/commitdiff
Use correct window for the error popup
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 3 Mar 2008 12:08:16 +0000 (14:08 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 3 Mar 2008 12:08:16 +0000 (14:08 +0200)
src/settings-gui.c

index b278ca110c47f9cf91452b1c98f37d31e63ab29f..4061f94c8aeecabee36d5a6bb6f391500e279c43 100644 (file)
@@ -403,7 +403,7 @@ while (GTK_RESPONSE_ACCEPT == gtk_dialog_run(GTK_DIALOG(dialog))) {
                gtk_tree_model_get(GTK_TREE_MODEL(gdi.store), &gdi.iter, 0, &(gps->io.type), -1);
                g_debug("GPS: %d", gps->io.type);
        } else {
-               popup_error(_window, "Please select GPS type");
+               popup_error(dialog, "Please select GPS type");
                continue;
        }