From: Kaj-Michael Lang Date: Mon, 3 Mar 2008 12:08:16 +0000 (+0200) Subject: Use correct window for the error popup X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18875f0a0b165ac8caeed59976683f19b8e8c38;p=mapper Use correct window for the error popup --- diff --git a/src/settings-gui.c b/src/settings-gui.c index b278ca1..4061f94 100644 --- a/src/settings-gui.c +++ b/src/settings-gui.c @@ -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; }