From: Itamar M. L. J. L. <ita...@gm...> - 2018-08-27 17:35:47
|
Hi! Maybe problem of chash "menu of" be in these messages. from ../../../../source/gtk/menu_c.c:15: ../../../../source/gtk/menu_c.c: In function ‘HB_FUN_HWG__SETMENUCAPTION’: /usr/include/gtk-2.0/gtk/gtkbin.h:41:39: warning: passing argument 1 of ‘gtk_label_set_text’ from incompatible pointer type [-Wincompatible-pointer-types] #define GTK_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BIN, GtkBin)) ^ ../../../../source/gtk/menu_c.c:217:24: note: in expansion of macro ‘GTK_BIN’ gtk_label_set_text( GTK_BIN (menu_item)->child, gcptr ); ^~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38:0, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../../../../source/gtk/menu_c.c:15: /usr/include/gtk-2.0/gtk/gtklabel.h:112:23: note: expected ‘GtkLabel * {aka struct _GtkLabel *}’ but argument is of type ‘GtkWidget * {aka struct _GtkWidget *}’ void gtk_label_set_text (GtkLabel *label, ^~~~~~~~~~~~~~~~~~ ../../../../source/gtk/menu_c.c: In function ‘HB_FUN_HWG__DELETEMENU’: ../../../../source/gtk/menu_c.c:225:26: warning: passing argument 1 of ‘gtk_container_remove’ from incompatible pointer type [-Wincompatible-pointer-types] gtk_container_remove( ((GtkWidget*)menu_item)->parent, (GtkWidget*)menu_item ); Best regards, Itamar M. Lins Jr. |