mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
[doc] Add error domains on functions taking a GError**
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
This commit is contained in:
parent
ae057dcd12
commit
260b442462
@ -1676,7 +1676,8 @@ gtk_print_settings_set_output_bin (GtkPrintSettings *settings,
|
|||||||
* @file_name: the filename to read the settings from
|
* @file_name: the filename to read the settings from
|
||||||
* @error: return location for errors, or %NULL
|
* @error: return location for errors, or %NULL
|
||||||
*
|
*
|
||||||
* Reads the print settings from @file_name.
|
* Reads the print settings from @file_name. If the file could not be loaded
|
||||||
|
* then error is set to either a #GFileError or #GKeyFileError.
|
||||||
* See gtk_print_settings_to_file().
|
* See gtk_print_settings_to_file().
|
||||||
*
|
*
|
||||||
* Return value: %TRUE on success
|
* Return value: %TRUE on success
|
||||||
@ -1711,8 +1712,9 @@ gtk_print_settings_load_file (GtkPrintSettings *settings,
|
|||||||
* @error: return location for errors, or %NULL
|
* @error: return location for errors, or %NULL
|
||||||
*
|
*
|
||||||
* Reads the print settings from @file_name. Returns a new #GtkPrintSettings
|
* Reads the print settings from @file_name. Returns a new #GtkPrintSettings
|
||||||
* object with the restored settings, or %NULL if an error occurred.
|
* object with the restored settings, or %NULL if an error occurred. If the
|
||||||
* See gtk_print_settings_to_file().
|
* file could not be loaded then error is set to either a #GFileError or
|
||||||
|
* #GKeyFileError. See gtk_print_settings_to_file().
|
||||||
*
|
*
|
||||||
* Return value: the restored #GtkPrintSettings
|
* Return value: the restored #GtkPrintSettings
|
||||||
*
|
*
|
||||||
@ -1741,7 +1743,9 @@ gtk_print_settings_new_from_file (const gchar *file_name,
|
|||||||
* "Print Settings"
|
* "Print Settings"
|
||||||
* @error: return location for errors, or %NULL
|
* @error: return location for errors, or %NULL
|
||||||
*
|
*
|
||||||
* Reads the print settings from the group @group_name in @key_file.
|
* Reads the print settings from the group @group_name in @key_file. If the
|
||||||
|
* file could not be loaded then error is set to either a #GFileError or
|
||||||
|
* #GKeyFileError.
|
||||||
*
|
*
|
||||||
* Return value: %TRUE on success
|
* Return value: %TRUE on success
|
||||||
*
|
*
|
||||||
@ -1800,9 +1804,10 @@ gtk_print_settings_load_key_file (GtkPrintSettings *settings,
|
|||||||
* the default "Print Settings"
|
* the default "Print Settings"
|
||||||
* @error: return location for errors, or %NULL
|
* @error: return location for errors, or %NULL
|
||||||
*
|
*
|
||||||
* Reads the print settings from the group @group_name in @key_file.
|
* Reads the print settings from the group @group_name in @key_file. Returns a
|
||||||
* Returns a new #GtkPrintSettings object with the restored settings,
|
* new #GtkPrintSettings object with the restored settings, or %NULL if an
|
||||||
* or %NULL if an error occurred.
|
* error occurred. If the file could not be loaded then error is set to either
|
||||||
|
* a #GFileError or #GKeyFileError.
|
||||||
*
|
*
|
||||||
* Return value: the restored #GtkPrintSettings
|
* Return value: the restored #GtkPrintSettings
|
||||||
*
|
*
|
||||||
@ -1831,7 +1836,9 @@ gtk_print_settings_new_from_key_file (GKeyFile *key_file,
|
|||||||
* @file_name: the file to save to
|
* @file_name: the file to save to
|
||||||
* @error: return location for errors, or %NULL
|
* @error: return location for errors, or %NULL
|
||||||
*
|
*
|
||||||
* This function saves the print settings from @settings to @file_name.
|
* This function saves the print settings from @settings to @file_name. If the
|
||||||
|
* file could not be loaded then error is set to either a #GFileError or
|
||||||
|
* #GKeyFileError.
|
||||||
*
|
*
|
||||||
* Return value: %TRUE on success
|
* Return value: %TRUE on success
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user