[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-51-gb15559f88

paul at claws-mail.org paul at claws-mail.org
Fri Aug 20 09:26:40 UTC 2021


The branch, gtk3 has been updated
       via  b15559f886ce731f3977b963e2dbf10a9982848b (commit)
      from  30ae5d38602a896a5735887c74238b37a1d00db6 (commit)

Summary of changes:
 src/prefs_actions.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit b15559f886ce731f3977b963e2dbf10a9982848b
Author: wwp <subscript at free.fr>
Date:   Fri Aug 20 11:10:43 2021 +0200

    Fix callback function names.

diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index 52694403c..1547ed800 100644
--- 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;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list