diff options
Diffstat (limited to 'widgets/misc/e-popup-menu.h')
-rw-r--r-- | widgets/misc/e-popup-menu.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/widgets/misc/e-popup-menu.h b/widgets/misc/e-popup-menu.h index 7039d59835..be78965a83 100644 --- a/widgets/misc/e-popup-menu.h +++ b/widgets/misc/e-popup-menu.h @@ -4,22 +4,25 @@ #include <gtk/gtkwidget.h> -typedef struct { +typedef struct _EPopupMenu EPopupMenu; + +struct _EPopupMenu { char *name; char *pixname; void (*fn) (GtkWidget *widget, void *closure); - int disable_mask; -} EPopupMenu; + EPopupMenu *submenu; + guint32 disable_mask; +}; GtkMenu *e_popup_menu_create (EPopupMenu *menu_list, - int disable_mask, - int hide_mask, + guint32 disable_mask, + guint32 hide_mask, void *closure); void e_popup_menu_run (EPopupMenu *menu_list, GdkEventButton *event, - int disable_mask, - int hide_mask, + guint32 disable_mask, + guint32 hide_mask, void *closure); #endif /* E_POPUP_MENU_H */ |