From: Ryan Lortie Date: Mon, 29 Jul 2013 21:15:19 +0000 (-0400) Subject: GMenuModel: add annotations to virtual functions X-Git-Tag: 2.37.5~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a31a5010c548237bb107f2bf6a73d336f374bb2;p=platform%2Fupstream%2Fglib.git GMenuModel: add annotations to virtual functions Patch from Ted Gould. https://bugzilla.gnome.org/show_bug.cgi?id=704931 --- 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;