printsetup: Remove nullable from settings getters

GtkPrintSetup is initialized with the values returned from the portal.
Therefore the page setup and the print settings can never be NULL.
This commit is contained in:
Sophie Herold 2024-05-14 22:21:19 +02:00
parent 019916c5b9
commit 3648398f6d

View File

@ -142,7 +142,7 @@ gtk_print_setup_unref (GtkPrintSetup *setup)
* They may be different from the `GtkPrintDialog`'s settings
* if the user changed them during the setup process.
*
* Returns: (nullable) (transfer none): the print settings, or `NULL`
* Returns: (transfer none): the print settings, or `NULL`
*
* Since: 4.14
*/
@ -168,7 +168,7 @@ gtk_print_setup_set_print_settings (GtkPrintSetup *setup,
* It may be different from the `GtkPrintDialog`'s page setup
* if the user changed it during the setup process.
*
* Returns: (nullable) (transfer none): the page setup, or `NULL`
* Returns: (transfer none): the page setup, or `NULL`
*
* Since: 4.14
*/