[gedit/gnome-3-2] Add docs and annotations to the style scheme manager.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-2] Add docs and annotations to the style scheme manager.
- Date: Sat, 12 Nov 2011 10:08:43 +0000 (UTC)
commit 57c4fccc188e8db3a01f3012f86215a9cde05a90
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Nov 10 21:11:20 2011 +0100
Add docs and annotations to the style scheme manager.
gedit/gedit-style-scheme-manager.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-style-scheme-manager.c b/gedit/gedit-style-scheme-manager.c
index 839bef8..1d8306e 100644
--- a/gedit/gedit-style-scheme-manager.c
+++ b/gedit/gedit-style-scheme-manager.c
@@ -75,6 +75,13 @@ add_gedit_styles_path (GtkSourceStyleSchemeManager *mgr)
}
}
+/**
+ * gedit_get_style_scheme_manager:
+ *
+ * Returns the unique #GtkSourceStyleSchemeManager instance used by gedit.
+ *
+ * Return value: (transfer none): the unique #GtkSourceStyleSchemeManager instance.
+ */
GtkSourceStyleSchemeManager *
gedit_get_style_scheme_manager (void)
{
@@ -100,6 +107,15 @@ schemes_compare (gconstpointer a,
return g_utf8_collate (name_a, name_b);
}
+/**
+ * gedit_style_scheme_manager_list_schemes_sorted:
+ * @manager:
+ *
+ * Returns the list of style schemes sorted alphabetically.
+ *
+ * Return value: (element-type GtkSourceStyleScheme) (transfer container):
+ * a newly-allocated list of style schemes.
+ */
GSList *
gedit_style_scheme_manager_list_schemes_sorted (GtkSourceStyleSchemeManager *manager)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]