[libegg] toolbareditor: add missing introspection annotations
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] toolbareditor: add missing introspection annotations
- Date: Tue, 14 Dec 2010 20:07:41 +0000 (UTC)
commit 1da49d38ecfc51ea69a55148156f66c5e54ab8df
Author: Iain Nicol <iainn src gnome org>
Date: Wed Dec 8 20:16:42 2010 +0100
toolbareditor: add missing introspection annotations
Bug #605102
Signed-off-by: Diego Escalante Urrelo <descalante igalia com>
libegg/toolbareditor/egg-editable-toolbar.c | 12 ++++++++++++
libegg/toolbareditor/egg-toolbars-model.c | 18 ++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/libegg/toolbareditor/egg-editable-toolbar.c b/libegg/toolbareditor/egg-editable-toolbar.c
index c825e66..44f393d 100644
--- a/libegg/toolbareditor/egg-editable-toolbar.c
+++ b/libegg/toolbareditor/egg-editable-toolbar.c
@@ -1428,6 +1428,12 @@ egg_editable_toolbar_set_ui_manager (EggEditableToolbar *etoolbar,
toolbar_visibility_refresh (etoolbar);
}
+/**
+ * egg_editable_toolbar_get_selected:
+ * @etoolbar:
+ *
+ * Returns: (transfer none):
+ **/
GtkWidget * egg_editable_toolbar_get_selected (EggEditableToolbar *etoolbar)
{
return etoolbar->priv->selected;
@@ -1818,6 +1824,12 @@ _egg_editable_toolbar_new_separator_image (void)
return image;
}
+/**
+ * egg_editable_toolbar_get_model:
+ * @etoolbar:
+ *
+ * Returns: (transfer none):
+ **/
EggToolbarsModel *
egg_editable_toolbar_get_model (EggEditableToolbar *etoolbar)
{
diff --git a/libegg/toolbareditor/egg-toolbars-model.c b/libegg/toolbareditor/egg-toolbars-model.c
index b9a5f44..31a6d5e 100644
--- a/libegg/toolbareditor/egg-toolbars-model.c
+++ b/libegg/toolbareditor/egg-toolbars-model.c
@@ -946,12 +946,24 @@ egg_toolbars_model_toolbar_nth (EggToolbarsModel *model,
return tdata->name;
}
+/**
+ * egg_toolbars_model_get_types:
+ * @model:
+ *
+ * Returns: (transfer none) (element-type EggToolbarsItemType):
+ */
GList *
egg_toolbars_model_get_types (EggToolbarsModel *model)
{
return model->priv->types;
}
+/**
+ * egg_toolbars_model_set_types:
+ * @model:
+ * @types: (element-type EggToolbarsItemType):
+ *
+ */
void
egg_toolbars_model_set_types (EggToolbarsModel *model, GList *types)
{
@@ -966,6 +978,12 @@ fill_avail_array (gpointer key, gpointer value, GPtrArray *array)
g_ptr_array_add (array, key);
}
+/**
+ * egg_toolbars_model_get_name_avail:
+ * @model:
+ *
+ * Returns: (element-type utf8) (transfer container):
+ */
GPtrArray *
egg_toolbars_model_get_name_avail (EggToolbarsModel *model)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]