mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 11:12:46 +03:00
fix menu signal handler prototype
This commit is contained in:
parent
9dd936ae7c
commit
6c470679ee
@ -48,7 +48,10 @@ struct nsgtk_menu {
|
|||||||
GtkWidget *main; /* main menu entry */
|
GtkWidget *main; /* main menu entry */
|
||||||
GtkWidget *burger; /* right click menu */
|
GtkWidget *burger; /* right click menu */
|
||||||
GtkWidget *popup; /* popup menu entry */
|
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 */
|
const char *iconname; /* name of the icon to use */
|
||||||
bool sensitivity; /* menu item is sensitive */
|
bool sensitivity; /* menu item is sensitive */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user