[Xfce4-commits] [xfce/thunar] 01/01: Fix compile warning (GtkButton cast) (Bug #14601)

noreply at xfce.org noreply at xfce.org
Tue Aug 14 00:58:14 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit 31b7686dad5b416b2b18fdc3fbd2bde2b96972d0
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Aug 13 19:57:27 2018 -0300

    Fix compile warning (GtkButton cast) (Bug #14601)
---
 thunar/thunar-progress-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-progress-view.c b/thunar/thunar-progress-view.c
index c2b445c..e30fb68 100644
--- a/thunar/thunar-progress-view.c
+++ b/thunar/thunar-progress-view.c
@@ -228,7 +228,7 @@ thunar_progress_view_init (ThunarProgressView *view)
   gtk_widget_show (view->progress_label);
 
   button = gtk_button_new_from_icon_name ("process-stop", GTK_ICON_SIZE_BUTTON);
-  gtk_button_set_label (button, _("Cancel"));
+  gtk_button_set_label (GTK_BUTTON (button), _("Cancel"));
   g_signal_connect_swapped (button, "clicked", G_CALLBACK (thunar_progress_view_cancel_job), view);
   gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
   gtk_widget_set_can_focus (button, FALSE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list