From: Jean-Philippe Orsini Date: Sun, 8 May 2011 08:40:08 +0000 (+0000) Subject: renamed cb X-Git-Tag: v0.8.0.5~777 X-Git-Url: http://git.wpitchoune.net/gitweb/?a=commitdiff_plain;h=c2d7605f801c2758a72caf80f0cd11c7c48f8bbd;p=psensor.git renamed cb --- diff --git a/src/ui.c b/src/ui.c index abdd707..fe6077b 100644 --- a/src/ui.c +++ b/src/ui.c @@ -42,7 +42,7 @@ static void cb_menu_quit(GtkMenuItem *mi, gpointer data) ui_psensor_quit(); } -static void cb_menu_preferences(GtkMenuItem *mi, gpointer data) +static void cb_preferences(GtkMenuItem *mi, gpointer data) { ui_pref_dialog_run((struct ui_psensor *)data); } @@ -78,7 +78,7 @@ static GtkActionEntry entries[] = { { "PreferencesAction", GTK_STOCK_PREFERENCES, /* name, stock id */ "_Preferences", NULL, /* label, accelerator */ "Preferences", /* tooltip */ - G_CALLBACK(cb_menu_preferences) }, + G_CALLBACK(cb_preferences) }, { "SensorPreferencesAction", GTK_STOCK_PREFERENCES, "_Sensor Preferences",