[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-69-g79ff72c6e

paul at claws-mail.org paul at claws-mail.org
Mon Aug 23 14:01:15 UTC 2021


The branch, gtk3 has been updated
       via  79ff72c6e4fe9c5882672e518fd7d45cac7bff80 (commit)
      from  345e77f4d5f6ad6cb569c1776d690fd426d6d1c8 (commit)

Summary of changes:
 src/mainwindow.c | 4 ++--
 src/statusbar.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 79ff72c6e4fe9c5882672e518fd7d45cac7bff80
Author: paul <paul at claws-mail.org>
Date:   Mon Aug 23 15:01:10 2021 +0100

    replace deprecated gtk_widget_set_margin_left() and gtk_widget_set_margin_right()

diff --git a/src/mainwindow.c b/src/mainwindow.c
index ba843db1d..b3d7c7714 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1942,8 +1942,8 @@ MainWindow *main_window_create()
 	gtk_box_pack_start(GTK_BOX(hbox_stat), warning_btn, FALSE, FALSE, 0);
 
 	statusbar = statusbar_create();
-	gtk_widget_set_margin_left(statusbar, 2);
-	gtk_widget_set_margin_right(statusbar, 0);
+	gtk_widget_set_margin_start(statusbar, 2);
+	gtk_widget_set_margin_end(statusbar, 0);
 	gtk_widget_set_margin_top(statusbar, 0);
 	gtk_widget_set_margin_bottom(statusbar, 0);
 	gtk_box_pack_start(GTK_BOX(hbox_stat), statusbar, TRUE, TRUE, 0);
diff --git a/src/statusbar.c b/src/statusbar.c
index c9dc39b10..b6a35ae94 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -55,8 +55,8 @@ GtkWidget *statusbar_create(void)
 	child = gtk_statusbar_get_message_area(GTK_STATUSBAR(statusbar));
 	gtk_widget_set_margin_top(GTK_WIDGET(child), 0);
 	gtk_widget_set_margin_bottom(GTK_WIDGET(child), 0);
-	gtk_widget_set_margin_left(GTK_WIDGET(child), 0);
-	gtk_widget_set_margin_right(GTK_WIDGET(child), 0);
+	gtk_widget_set_margin_start(GTK_WIDGET(child), 0);
+	gtk_widget_set_margin_end(GTK_WIDGET(child), 0);
 	parent = gtk_widget_get_parent(child);
 	gtk_container_remove(GTK_CONTAINER(parent), g_object_ref(child));
 	hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list