summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetup.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:24:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 19:17:49 -0400
commit7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch)
tree41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtkpagesetup.c
parent8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff)
downloadgtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz
introspection: Stop using allow-none
allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
Diffstat (limited to 'gtk/gtkpagesetup.c')
-rw-r--r--gtk/gtkpagesetup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkpagesetup.c b/gtk/gtkpagesetup.c
index 7466a1b063..18d1c4c4b3 100644
--- a/gtk/gtkpagesetup.c
+++ b/gtk/gtkpagesetup.c
@@ -491,7 +491,7 @@ gtk_page_setup_get_page_height (GtkPageSetup *setup,
* gtk_page_setup_load_file:
* @setup: a `GtkPageSetup`
* @file_name: (type filename): the filename to read the page setup from
- * @error: (allow-none): return location for an error, or %NULL
+ * @error: (nullable): return location for an error, or %NULL
*
* Reads the page setup from the file @file_name.
*
@@ -524,7 +524,7 @@ gtk_page_setup_load_file (GtkPageSetup *setup,
/**
* gtk_page_setup_new_from_file:
* @file_name: (type filename): the filename to read the page setup from
- * @error: (allow-none): return location for an error, or %NULL
+ * @error: (nullable): return location for an error, or %NULL
*
* Reads the page setup from the file @file_name.
*
@@ -574,9 +574,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: (allow-none): the name of the group in the key_file to read, or %NULL
+ * @group_name: (nullable): the name of the group in the key_file to read, or %NULL
* to use the default name “Page Setup”
- * @error: (allow-none): return location for an error, or %NULL
+ * @error: (nullable): return location for an error, or %NULL
*
* Reads the page setup from the group @group_name in the key file
* @key_file.
@@ -660,9 +660,9 @@ out:
/**
* gtk_page_setup_new_from_key_file:
* @key_file: the `GKeyFile` to retrieve the page_setup from
- * @group_name: (allow-none): the name of the group in the key_file to read, or %NULL
+ * @group_name: (nullable): the name of the group in the key_file to read, or %NULL
* to use the default name “Page Setup”
- * @error: (allow-none): return location for an error, or %NULL
+ * @error: (nullable): return location for an error, or %NULL
*
* Reads the page setup from the group @group_name in the key file
* @key_file.
@@ -692,7 +692,7 @@ gtk_page_setup_new_from_key_file (GKeyFile *key_file,
* gtk_page_setup_to_file:
* @setup: a `GtkPageSetup`
* @file_name: (type filename): the file to save to
- * @error: (allow-none): return location for errors, or %NULL
+ * @error: (nullable): return location for errors, or %NULL
*
* This function saves the information from @setup to @file_name.
*