From: Kaj-Michael Lang Date: Mon, 28 Jan 2008 17:13:07 +0000 (+0200) Subject: Call gps settings dialog properly. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8860a6671a331e5ab3bbc4cb513b3652f5f1dd2;p=mapper Call gps settings dialog properly. Add missing include. --- diff --git a/src/cb.c b/src/cb.c index 2252c15..a96c290 100644 --- a/src/cb.c +++ b/src/cb.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -484,7 +485,7 @@ return TRUE; gboolean menu_cb_settings_gps(GtkAction * action) { -if (settings_dialog_gps()) { +if (settings_dialog_gps(_gps)) { /* Settings have changed - reconnect to receiver. */ if (_enable_gps) { gps_conn_set_state(_gps, RCVR_DOWN);