Bug ID: 14601
           Summary: Cancel button in progress dialog missing cast
    Classification: Xfce Core
           Product: Thunar
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
  Target Milestone: 1.8.0

Created attachment 7882
Fix missing CAST

With the recent
(Add label to cancel button in file operation dialog) the following is
displayed during compilation:

thunar-progress-view.c: In function ‘thunar_progress_view_init’:
thunar-progress-view.c:231:25: warning: passing argument 1 of
‘gtk_button_set_label’ from incompatible pointer type
   gtk_button_set_label (button, _("Cancel"));
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54,
                 from /usr/include/exo-2/exo/exo.h:32,
                 from thunar-progress-view.c:25:
/usr/include/gtk-3.0/gtk/gtkbutton.h:123:70: note: expected ‘GtkButton *’ {aka
‘struct _GtkButton *’} but argument is of type ‘GtkWidget *’ {aka ‘struct
_GtkWidget *’}
 void                  gtk_button_set_label          (GtkButton      *button,

Patch attached to add GTK_BUTTON cast.

You are receiving this mail because:
You are the assignee for the bug.
Xfce-bugs mailing list

Reply via email to