fix menu signal handler prototype

This commit is contained in:
Vincent Sanders 2019-09-21 10:47:54 +01:00 committed by Daniel Silverstone
parent 9dd936ae7c
commit 6c470679ee

View File

@ -48,7 +48,10 @@ struct nsgtk_menu {
GtkWidget *main; /* main menu entry */
GtkWidget *burger; /* right click menu */
GtkWidget *popup; /* popup menu entry */
void *mhandler; /* menu item handler */
/**
* menu item handler
*/
gboolean (*mhandler)(GtkMenuItem *widget, gpointer data);
const char *iconname; /* name of the icon to use */
bool sensitivity; /* menu item is sensitive */
};