aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/idoscalemenuitem.h')
-rw-r--r--src/idoscalemenuitem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/idoscalemenuitem.h b/src/idoscalemenuitem.h
index 81a3474..2c32a49 100644
--- a/src/idoscalemenuitem.h
+++ b/src/idoscalemenuitem.h
@@ -61,8 +61,8 @@ struct _IdoScaleMenuItemClass
GtkMenuItemClass parent_class;
/* signal default handlers */
- void (*primary_clicked)(IdoScaleMenuItem * self);
- void (*secondary_clicked)(IdoScaleMenuItem * self);
+ void (*primary_clicked)(IdoScaleMenuItem * menuitem);
+ void (*secondary_clicked)(IdoScaleMenuItem * menuitem);
};
@@ -92,6 +92,9 @@ void ido_scale_menu_item_set_secondary_label (IdoScaleMenuItem
void ido_scale_menu_item_primary_clicked (IdoScaleMenuItem *menuitem);
void ido_scale_menu_item_secondary_clicked (IdoScaleMenuItem *menuitem);
+GtkMenuItem * ido_scale_menu_item_new_from_model (GMenuItem *menuitem,
+ GActionGroup *actions);
+
G_END_DECLS
#endif /* __IDO_SCALE_MENU_ITEM_H__ */