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 656170 - [PATCH] gsettings-data-convert: Attempt conversion to unsigned int
[PATCH] gsettings-data-convert: Attempt conversion to unsigned int
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-08 17:57 UTC by Kalev Lember
Modified: 2011-08-10 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsettings-data-convert: Attempt conversion to unsigned int (1.77 KB, patch)
2011-08-08 17:57 UTC, Kalev Lember
accepted-commit_now Details | Review

Description Kalev Lember 2011-08-08 17:57:36 UTC
Created attachment 193430 [details] [review]
gsettings-data-convert: Attempt conversion to unsigned int

Attached a patch to attempt conversion from int->uint when the GConf value is an int, and the gsettings key has an unsigned int type.

See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=619898 for a use case.
Comment 1 Matthias Clasen 2011-08-10 14:03:57 UTC
Review of attachment 193430 [details] [review]:

Looks ok to me.
Comment 2 Kalev Lember 2011-08-10 14:09:19 UTC
Thanks, pushed as 132815e5.