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 615000 - gtk_builder_value_from_string_type() returns FALSE without setting an error.
gtk_builder_value_from_string_type() returns FALSE without setting an error.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkBuilder
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GtkBuilder maintainers
GtkBuilder maintainers
Depends on:
Blocks: 560147
 
 
Reported: 2010-04-06 19:52 UTC by Tristan Van Berkom
Modified: 2010-04-06 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes gtk_builder_value_from_string_type() to always set an error when returning false (889 bytes, patch)
2010-04-06 19:52 UTC, Tristan Van Berkom
none Details | Review

Description Tristan Van Berkom 2010-04-06 19:52:00 UTC
Created attachment 158075 [details] [review]
Fixes gtk_builder_value_from_string_type() to always set an error when returning false

gtk_builder_value_from_string_type() can be called only for GObject's
that can be built by type, i.e. the GdkPixbuf exception case.

Currently the api returns false without setting an error.
 
(builder test cases still pass with this applied...)
Comment 1 Tristan Van Berkom 2010-04-06 20:31:06 UTC
Applied patch, closing bug.