[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-859-g627fb4da4

paul at claws-mail.org paul at claws-mail.org
Wed Nov 27 08:32:09 CET 2019


The branch, gtk3 has been updated
       via  627fb4da429b1b18db7a05b2fdb3c41670a1bf43 (commit)
      from  cd21af667743b5c382b5a119ca3bbb6ce65d84c2 (commit)

Summary of changes:
 src/addrduplicates.c                 | 2 +-
 src/addressbook.c                    | 2 +-
 src/crash.c                          | 6 +++---
 src/gtk/gtkutils.c                   | 4 ++--
 src/message_search.c                 | 2 +-
 src/plugins/rssyl/rssyl_feed_props.c | 2 +-
 src/prefs_themes.c                   | 2 +-
 src/summary_search.c                 | 2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)


- Log -----------------------------------------------------------------
commit 627fb4da429b1b18db7a05b2fdb3c41670a1bf43
Author: paul <paul at claws-mail.org>
Date:   Wed Nov 27 08:32:05 2019 +0000

    replace deprecated gtk_hbutton_box_new()

diff --git a/src/addrduplicates.c b/src/addrduplicates.c
index 938c7c14c..11b23c3fc 100644
--- a/src/addrduplicates.c
+++ b/src/addrduplicates.c
@@ -382,7 +382,7 @@ static void present_finder_results(GtkWindow *parent)
 	if(pos < 200)
 		gtk_paned_set_position(GTK_PANED(hpaned), 200);
 
-	hbox = gtk_hbutton_box_new();
+	hbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(hbox), GTK_BUTTONBOX_END);
 	gtk_box_set_spacing(GTK_BOX(hbox), 2);
 	gtk_container_set_border_width(GTK_CONTAINER(hbox), 4);
diff --git a/src/addressbook.c b/src/addressbook.c
index c6e7018d9..6c6d069da 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -1153,7 +1153,7 @@ static void addressbook_create(void)
 	gtk_box_pack_start(GTK_BOX(hsbox), statusbar, TRUE, TRUE, BORDER_WIDTH);
 
 	/* Button panel */
-	hbbox = gtk_hbutton_box_new();
+	hbbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(hbbox), GTK_BUTTONBOX_END);
 	gtk_box_set_spacing(GTK_BOX(hbbox), 2);
 	gtk_container_set_border_width(GTK_CONTAINER(hbbox), 4);
diff --git a/src/crash.c b/src/crash.c
index 17b12d126..3b515bc29 100644
--- a/src/crash.c
+++ b/src/crash.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2015 by the Claws Mail Team
+ * Copyright (C) 2002-2019 by the Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -241,11 +241,11 @@ static GtkWidget *crash_dialog_show(const gchar *text, const gchar *debug_output
 	gtk_text_buffer_get_start_iter(buffer, &iter);
 	gtk_text_buffer_insert(buffer, &iter, crash_report, -1);
 
-	hbuttonbox3 = gtk_hbutton_box_new();
+	hbuttonbox3 = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show(hbuttonbox3);
 	gtk_box_pack_start(GTK_BOX(vbox1), hbuttonbox3, FALSE, FALSE, 0);
 
-	hbuttonbox4 = gtk_hbutton_box_new();
+	hbuttonbox4 = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show(hbuttonbox4);
 	gtk_box_pack_start(GTK_BOX(vbox1), hbuttonbox4, FALSE, FALSE, 0);
 
diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index 646a650af..5b180253f 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -168,7 +168,7 @@ void gtkut_stock_button_set_create(GtkWidget **bbox,
 	cm_return_if_fail(bbox != NULL);
 	cm_return_if_fail(button1 != NULL);
 
-	*bbox = gtk_hbutton_box_new();
+	*bbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(*bbox), GTK_BUTTONBOX_END);
 	gtk_box_set_spacing(GTK_BOX(*bbox), 5);
 
@@ -200,7 +200,7 @@ void gtkut_stock_with_text_button_set_create(GtkWidget **bbox,
 	cm_return_if_fail(bbox != NULL);
 	cm_return_if_fail(button1 != NULL);
 
-	*bbox = gtk_hbutton_box_new();
+	*bbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(*bbox), GTK_BUTTONBOX_END);
 	gtk_box_set_spacing(GTK_BOX(*bbox), 5);
 
diff --git a/src/message_search.c b/src/message_search.c
index fd7ef80a8..7fcb15438 100644
--- a/src/message_search.c
+++ b/src/message_search.c
@@ -217,7 +217,7 @@ static void message_search_create(void)
 	gtk_box_pack_start (GTK_BOX (checkbtn_hbox), case_checkbtn,
 			    FALSE, FALSE, 0);
 
-	confirm_area = gtk_hbutton_box_new();
+	confirm_area = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show (confirm_area);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(confirm_area),
 				  GTK_BUTTONBOX_END);
diff --git a/src/plugins/rssyl/rssyl_feed_props.c b/src/plugins/rssyl/rssyl_feed_props.c
index 2ad7bb3f2..e9ed1647b 100644
--- a/src/plugins/rssyl/rssyl_feed_props.c
+++ b/src/plugins/rssyl/rssyl_feed_props.c
@@ -473,7 +473,7 @@ void rssyl_gtk_prop(RFolderItem *ritem)
 	gtk_container_add(GTK_CONTAINER(frame), inner_vbox);
 
 	/* Buttonbox */
-	bbox = gtk_hbutton_box_new();
+	bbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_container_set_border_width(GTK_CONTAINER(bbox), 5);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
 	gtk_box_set_spacing(GTK_BOX(bbox), 5);
diff --git a/src/prefs_themes.c b/src/prefs_themes.c
index 6ebdc0736..7ab688952 100644
--- a/src/prefs_themes.c
+++ b/src/prefs_themes.c
@@ -1097,7 +1097,7 @@ static void prefs_themes_create_widget(PrefsPage *page, GtkWindow *window, gpoin
 
 	PACK_FRAME(vbox1, frame_buttons, _("Actions"));
 
-	hbuttonbox1 = gtk_hbutton_box_new ();
+	hbuttonbox1 = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show (hbuttonbox1);
 	gtk_container_add (GTK_CONTAINER (frame_buttons), hbuttonbox1);
 	gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox1), 8);
diff --git a/src/summary_search.c b/src/summary_search.c
index f10e64c2b..a787d7ffe 100644
--- a/src/summary_search.c
+++ b/src/summary_search.c
@@ -467,7 +467,7 @@ static void summary_search_create(void)
 	g_signal_connect(G_OBJECT(adv_search_checkbtn), "changed",
 			 G_CALLBACK(case_changed), NULL);
 
-	confirm_area = gtk_hbutton_box_new();
+	confirm_area = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show (confirm_area);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(confirm_area),
 				  GTK_BUTTONBOX_END);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list