From 7a31a5010c548237bb107f2bf6a73d336f374bb2 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 29 Jul 2013 17:15:19 -0400 Subject: [PATCH] GMenuModel: add annotations to virtual functions Patch from Ted Gould. https://bugzilla.gnome.org/show_bug.cgi?id=704931 --- gio/gmenumodel.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gio/gmenumodel.h b/gio/gmenumodel.h index 46c4bad..d80f2f2 100644 --- a/gio/gmenumodel.h +++ b/gio/gmenumodel.h @@ -141,6 +141,22 @@ struct _GMenuModel GMenuModelPrivate *priv; }; +/** + * GMenuModelClass::get_item_attributes: + * @model: the #GMenuModel to query + * @item_index: The #GMenuItem to query + * @attributes: (out) (element-type utf8 GLib.Variant): Attributes on the item + * + * Gets all the attributes associated with the item in the menu model. + */ +/** + * GMenuModelClass::get_item_links: + * @model: the #GMenuModel to query + * @item_index: The #GMenuItem to query + * @attributes: (out) (element-type utf8 GLib.MenuModel): Links from the item + * + * Gets all the links associated with the item in the menu model. + */ struct _GMenuModelClass { GObjectClass parent_class; -- 2.7.4