Avoid a warning when building gprs(1)
This commit is contained in:
parent
171c7ba17f
commit
b4ea1b559a
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user