diff options
author | raveit65 <[email protected]> | 2016-06-23 10:43:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-24 20:48:20 +0200 |
commit | e43c98ad9ac2f5ed5479ad560446a202a3e4731b (patch) | |
tree | 18efc9156c3f3b6a733787aed2706f843aeadbeb /cut-n-paste/toolbar-editor/egg-toolbars-model.c | |
parent | 3018425dc1ec8955ec790f84a5cc8793190d0179 (diff) | |
download | atril-e43c98ad9ac2f5ed5479ad560446a202a3e4731b.tar.bz2 atril-e43c98ad9ac2f5ed5479ad560446a202a3e4731b.tar.xz |
GTK+-3 cut-n-paste: Update toolbar-editor from libegg
partial taken from
https://git.gnome.org/browse/evince/commit/?id=8c45255
Note: for some reasons parts of this commit was already applied
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-toolbars-model.c')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-toolbars-model.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbars-model.c b/cut-n-paste/toolbar-editor/egg-toolbars-model.c index 27dbedf6..dab1cad3 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbars-model.c +++ b/cut-n-paste/toolbar-editor/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) { |