diff options
author | Johan Dahlin <johan@gnome.org> | 2010-02-19 14:53:17 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-02-19 17:57:51 -0200 |
commit | fe852721123fb7dc5749c690613ca6e209363e2f (patch) | |
tree | 62ac68aab7296dbea80b199a0e1769ba5621514a /gtk/gtkpagesetup.c | |
parent | 347d406f80f2140a466da30764171cd92aa7d7ea (diff) | |
download | gtk+-fe852721123fb7dc5749c690613ca6e209363e2f.tar.gz |
[annotations] Add allow-none
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
Diffstat (limited to 'gtk/gtkpagesetup.c')
-rw-r--r-- | gtk/gtkpagesetup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkpagesetup.c b/gtk/gtkpagesetup.c index 9519fded07..0e8c153b77 100644 --- a/gtk/gtkpagesetup.c +++ b/gtk/gtkpagesetup.c @@ -476,7 +476,7 @@ gtk_page_setup_get_page_height (GtkPageSetup *setup, * gtk_page_setup_load_file: * @setup: a #GtkPageSetup * @file_name: the filename to read the page setup from - * @error: return location for an error, or %NULL + * @error: (allow-none): return location for an error, or %NULL * * Reads the page setup from the file @file_name. * See gtk_page_setup_to_file(). @@ -510,7 +510,7 @@ gtk_page_setup_load_file (GtkPageSetup *setup, /** * gtk_page_setup_new_from_file: * @file_name: the filename to read the page setup from - * @error: return location for an error, or %NULL + * @error: (allow-none): return location for an error, or %NULL * * Reads the page setup from the file @file_name. Returns a * new #GtkPageSetup object with the restored page setup, @@ -560,9 +560,9 @@ string_to_enum (GType type, * gtk_page_setup_load_key_file: * @setup: a #GtkPageSetup * @key_file: the #GKeyFile to retrieve the page_setup from - * @group_name: the name of the group in the key_file to read, or %NULL + * @group_name: (allow-none): the name of the group in the key_file to read, or %NULL * to use the default name "Page Setup" - * @error: return location for an error, or %NULL + * @error: (allow-none): return location for an error, or %NULL * * Reads the page setup from the group @group_name in the key file * @key_file. @@ -648,9 +648,9 @@ out: /** * gtk_page_setup_new_from_key_file: * @key_file: the #GKeyFile to retrieve the page_setup from - * @group_name: the name of the group in the key_file to read, or %NULL + * @group_name: (allow-none): the name of the group in the key_file to read, or %NULL * to use the default name "Page Setup" - * @error: return location for an error, or %NULL + * @error: (allow-none): return location for an error, or %NULL * * Reads the page setup from the group @group_name in the key file * @key_file. Returns a new #GtkPageSetup object with the restored @@ -680,7 +680,7 @@ gtk_page_setup_new_from_key_file (GKeyFile *key_file, * gtk_page_setup_to_file: * @setup: a #GtkPageSetup * @file_name: the file to save to - * @error: return location for errors, or %NULL + * @error: (allow-none): return location for errors, or %NULL * * This function saves the information from @setup to @file_name. * |