After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544706 - gtk_print_settings_*_key_file should say what GErrors domains they may raise.
gtk_print_settings_*_key_file should say what GErrors domains they may raise.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-07-25 15:07 UTC by Murray Cumming
Modified: 2009-12-08 04:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add GError domains information to documentation. (2.97 KB, patch)
2009-03-26 10:26 UTC, David King
committed Details | Review

Description Murray Cumming 2008-07-25 15:07:02 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.
Comment 1 David King 2009-03-26 10:26:02 UTC
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 2 Matthias Clasen 2009-11-27 20:43:58 UTC
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 3 Javier Jardón (IRC: jjardon) 2009-12-08 04:56:07 UTC
Comment on attachment 131418 [details] [review]
Patch to add GError domains information to documentation.

commit 260b4424621b1399c7a9ab19fe5a19809bd78234
Comment 4 Javier Jardón (IRC: jjardon) 2009-12-08 04:57:41 UTC
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.