summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-18 10:10:30 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 13:57:20 +0100
commit2fb1c064020c5db189285b1d5e8b8dcea8e9d09b (patch)
treec7d26238efe9c5cad53cd7431d2f2eac5dfed7ea /gtk/gtkrc.c
parent2f0d40335b83d70d04a205dd17e8a5514b79f2d4 (diff)
downloadgtk+-2fb1c064020c5db189285b1d5e8b8dcea8e9d09b.tar.gz
[GI] Add missing (out) and (array) annotations
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r--gtk/gtkrc.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index 5ed4cb1994..eccf8a321e 100644
--- a/gtk/gtkrc.c
+++ b/gtk/gtkrc.c
@@ -366,9 +366,10 @@ gtk_rc_set_default_files (gchar **filenames)
* Retrieves the current list of RC files that will be parsed
* at the end of gtk_init().
*
- * Return value: (transfer none): A %NULL-terminated array of filenames.
- * This memory is owned by GTK+ and must not be freed by the application.
- * If you want to store this information, you should make a copy.
+ * Return value: (transfer none) (array zero-terminated=1) (element-type filename):
+ * A %NULL-terminated array of filenames. This memory is owned
+ * by GTK+ and must not be freed by the application. If you want
+ * to store this information, you should make a copy.
*
* Deprecated:3.0: Use #GtkStyleContext instead
**/
@@ -968,7 +969,7 @@ gtk_rc_find_module_in_path (const gchar *module_file)
/**
* gtk_rc_parse_state:
* @scanner:
- * @state:
+ * @state: (out):
*
* Deprecated:3.0: Use #GtkCssProvider instead
*/
@@ -1026,7 +1027,7 @@ gtk_rc_parse_state (GScanner *scanner,
/**
* gtk_rc_parse_priority:
* @scanner:
- * @priority:
+ * @priority: (out):
*
* Deprecated:3.0: Use #GtkCssProvider instead
*/
@@ -1083,7 +1084,8 @@ gtk_rc_parse_priority (GScanner *scanner,
/**
* gtk_rc_parse_color:
* @scanner: a #GScanner
- * @color: a pointer to a #GdkColor structure in which to store the result
+ * @color: (out): a pointer to a #GdkColor structure in which to store
+ * the result
*
* Parses a color in the <link linkend="color=format">format</link> expected
* in a RC file.
@@ -1107,7 +1109,8 @@ gtk_rc_parse_color (GScanner *scanner,
* gtk_rc_parse_color_full:
* @scanner: a #GScanner
* @style: (allow-none): a #GtkRcStyle, or %NULL
- * @color: a pointer to a #GdkColor structure in which to store the result
+ * @color: (out): a pointer to a #GdkColor structure in which to store
+ * the result
*
* Parses a color in the <link linkend="color=format">format</link> expected
* in a RC file. If @style is not %NULL, it will be consulted to resolve