[glib] GMenuModel: add annotations to virtual functions
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GMenuModel: add annotations to virtual functions
- Date: Mon, 29 Jul 2013 21:15:48 +0000 (UTC)
commit 7a31a5010c548237bb107f2bf6a73d336f374bb2
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Jul 29 17:15:19 2013 -0400
GMenuModel: add annotations to virtual functions
Patch from Ted Gould.
https://bugzilla.gnome.org/show_bug.cgi?id=704931
gio/gmenumodel.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]