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 641755 - Add g_settings_get/set_uint() helpers
Add g_settings_get/set_uint() helpers
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-02-07 18:04 UTC by Bastien Nocera
Modified: 2011-03-31 07:18 UTC
See Also:
GNOME target: 3.2
GNOME version: ---



Description Bastien Nocera 2011-02-07 18:04:22 UTC
Would save a few lines of code.
Comment 1 Bastien Nocera 2011-03-30 22:35:31 UTC
Used in gnome-screensaver, gnome-settings-daemon, gnome-power-manager, and probably quite a few others.

GVariant already has the helper functions for it.
Comment 2 Allison Karlitskaya (desrt) 2011-03-31 07:18:11 UTC
commit 49fa69e05eb6d2a29fc1de8af93e65c4dd45ad72
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Thu Mar 31 12:44:40 2011 +0530

    Add 'uint' convenience functions for GSettings
    
    Without getting into a debate about the reasons why you may or may not
    want to use unsigned integers, it's sufficient to note that people have
    been using them and requesting this functionality.
    
    Bug #641755.