talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 627fb4da429b1b18db7a05b2fdb3c41670a1bf43
parent cd21af667743b5c382b5a119ca3bbb6ce65d84c2
Author: paul <paul@claws-mail.org>
Date:   Wed, 27 Nov 2019 08:32:05 +0000

replace deprecated gtk_hbutton_box_new()

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

diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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);