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 708206 - GtkBuilder throws GVariantParse errors instead of the GtkBuilder errors.
GtkBuilder throws GVariantParse errors instead of the GtkBuilder errors.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkBuilder
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GtkBuilder maintainers
GtkBuilder maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-17 07:29 UTC by Murray Cumming
Modified: 2014-09-27 02:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2013-09-17 07:29:30 UTC
I've noticed that gtk_builder_add_from_string can set a GError of type GVariantParseError, by just passing the GError from g_variant_parse() up to the caller. I believe it should be interpreted and reset/rethrown to a GtkBuilderError.

Otherwise, the extra possible error type should be mentioned in the documentation so that application code knows what to expect.