GNOME Bugzilla – Bug 544706
gtk_print_settings_*_key_file should say what GErrors domains they may raise.
Last modified: 2009-12-08 04:57:41 UTC
gtk_print_settings_new_from_key_file() and gtk_print_settings_load_key_file() take a GError* parameter, so they should say what domains the error may have. Maybe it's just GKeyFileError. http://library.gnome.org/devel/gtk/unstable/GtkPrintSettings.html#gtk-print-settings-new-from-key-file Actually the other GPrintSettings functions should have the same information for their GError parameters.
Created attachment 131418 [details] [review] Patch to add GError domains information to documentation. I believe that this adds the relevant information on the GError domains, which I copied from the g_key_file_load_from_file() documentation, as that function is used when using the gtk_print_settings_*_file() set of functions.
Comment on attachment 131418 [details] [review] Patch to add GError domains information to documentation. Looks like a reasonable doc addition. We really should strive to have this information everywhere...
Comment on attachment 131418 [details] [review] Patch to add GError domains information to documentation. commit 260b4424621b1399c7a9ab19fe5a19809bd78234
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.