commit b15559f886ce731f3977b963e2dbf10a9982848b
parent 30ae5d38602a896a5735887c74238b37a1d00db6
Author: wwp <subscript@free.fr>
Date: Fri, 20 Aug 2021 11:10:43 +0200
Fix callback function names.
Diffstat:
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
@@ -97,10 +97,8 @@ static void prefs_actions_delete_cb (gpointer gtk_action, gpointer data);
static void prefs_actions_delete_all_cb (gpointer gtk_action, gpointer data);
static void prefs_actions_clear_cb (gpointer gtk_action, gpointer data);
static void prefs_actions_duplicate_cb (gpointer gtk_action, gpointer data);
-static void prefs_actions_up (GtkWidget *w,
- gpointer data);
-static void prefs_actions_down (GtkWidget *w,
- gpointer data);
+static void prefs_actions_up_cb (GtkWidget *w, gpointer data);
+static void prefs_actions_down_cb (GtkWidget *w, gpointer data);
static gint prefs_actions_deleted (GtkWidget *widget,
GdkEventAny *event,
gpointer *data);
@@ -382,7 +380,7 @@ static void prefs_actions_create(MainWindow *mainwin)
gtk_widget_show(up_btn);
gtk_box_pack_start(GTK_BOX(btn_vbox), up_btn, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(up_btn), "clicked",
- G_CALLBACK(prefs_actions_up), NULL);
+ G_CALLBACK(prefs_actions_up_cb), NULL);
CLAWS_SET_TIP(up_btn,
_("Move the selected action up"));
@@ -390,7 +388,7 @@ static void prefs_actions_create(MainWindow *mainwin)
gtk_widget_show(down_btn);
gtk_box_pack_start(GTK_BOX(btn_vbox), down_btn, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(down_btn), "clicked",
- G_CALLBACK(prefs_actions_down), NULL);
+ G_CALLBACK(prefs_actions_down_cb), NULL);
CLAWS_SET_TIP(down_btn,
_("Move selected action down"));
@@ -754,7 +752,7 @@ static void prefs_actions_duplicate_cb(gpointer gtk_action, gpointer data)
modified_list = !prefs_actions_clist_set_row(-row-2);
}
-static void prefs_actions_up(GtkWidget *w, gpointer data)
+static void prefs_actions_up_cb(GtkWidget *w, gpointer data)
{
GtkTreePath *prev, *sel, *try;
GtkTreeIter isel;
@@ -800,7 +798,7 @@ static void prefs_actions_up(GtkWidget *w, gpointer data)
modified_list = TRUE;
}
-static void prefs_actions_down(GtkWidget *w, gpointer data)
+static void prefs_actions_down_cb(GtkWidget *w, gpointer data)
{
GtkListStore *store = NULL;
GtkTreeModel *model = NULL;