Avoid a warning when building gprs(1)

This commit is contained in:
Pierre Pronchery 2017-12-15 22:57:54 +01:00
parent 171c7ba17f
commit b4ea1b559a

View File

@ -99,7 +99,9 @@ static int _gprs_load_operator(GPRS * gprs, char const * _operator);
/* callbacks */
static void _gprs_on_activate(gpointer data);
#ifndef PROGNAME_GPRS
static void _gprs_on_load_defaults(gpointer data);
#endif
static void _gprs_on_popup_menu(GtkStatusIcon * icon, guint button,
guint time, gpointer data);
static gboolean _gprs_on_timeout(gpointer data);
@ -866,6 +868,7 @@ static void _gprs_on_activate(gpointer data)
}
#ifndef PROGNAME_GPRS
/* gprs_on_load_defaults */
static void _gprs_on_load_defaults(gpointer data)
{
@ -887,6 +890,7 @@ static void _gprs_on_load_defaults(gpointer data)
gtk_dialog_run(GTK_DIALOG(widget));
gtk_widget_destroy(widget);
}
#endif
/* gprs_on_popup_menu */