[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-885-gc785ef336

paul at claws-mail.org paul at claws-mail.org
Fri Dec 6 12:52:07 CET 2019


The branch, gtk3 has been updated
       via  c785ef3363c5e6debf3b39e03bdda47b2c5287a2 (commit)
      from  683c36060f1289e8b63bb97554fb72a1a00c7f3e (commit)

Summary of changes:
 src/gtk/gtkutils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit c785ef3363c5e6debf3b39e03bdda47b2c5287a2
Author: paul <paul at claws-mail.org>
Date:   Fri Dec 6 11:52:01 2019 +0000

    set right type: GTK_BUTTON()

diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index 98e61f99d..014db3c21 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -965,12 +965,12 @@ GtkWidget *gtkut_stock_button(const gchar *stock_image)
 	cm_return_val_if_fail(stock_image != NULL, NULL);
 
 	button = gtk_button_new_from_icon_name(stock_image, GTK_ICON_SIZE_BUTTON);
-	gtk_button_set_use_underline(button, TRUE);
+	gtk_button_set_use_underline(GTK_BUTTON(button), TRUE);
 	for (i=0;STOCK_BTNS[i].icon_name != NULL;i++) {
 		name = STOCK_BTNS[i].icon_name;
 		label = STOCK_BTNS[i].icon_label;
 		if (!strcmp(stock_image, name)) {
-			gtk_button_set_label(button, label);
+			gtk_button_set_label(GTK_BUTTON(button), label);
 			return button;
 		}
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list