mate-desktop / mate-applets

Applets for use with the MATE panel
http://www.mate-desktop.org
GNU General Public License v2.0
79 stars 67 forks source link

command: fix -Wincompatible-pointer-types warning #631

Closed rbuj closed 1 year ago

rbuj commented 2 years ago
command.c:472:45: warning: incompatible pointer types passing 'MatePanelApplet *' (aka 'struct _MatePanelApplet *') to parameter of type 'GtkWidget *' (aka 'struct _GtkWidget *') [-Wincompatible-pointer-types]
    atk_widget = gtk_widget_get_accessible (command_applet->applet);
                                            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1067:79: note: passing argument to parameter 'widget' here
AtkObject*       gtk_widget_get_accessible               (GtkWidget          *widget);
                                                                              ^