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 699739 - GtkSettings fails to read uint properties from settings.ini
GtkSettings fails to read uint properties from settings.ini
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-05-06 06:46 UTC by Stef Walter
Modified: 2013-05-06 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtksettings: Fix loading of uint settings (649 bytes, patch)
2013-05-06 09:05 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-05-06 06:46:03 UTC
Unfortunately certain GtkSettings properties are of type G_TYPE_UINT. Adding them to settings.ini results in:

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-entry-password-hint-timeout' of type `guint' from rc file value "((GString*) 0x256c1a0)" of type `guint'

This is with gtk+ 3.8.1

Have a patch, building gtk+
Comment 1 Stef Walter 2013-05-06 09:05:18 UTC
Created attachment 243373 [details] [review]
gtksettings: Fix loading of uint settings
Comment 2 Matthias Clasen 2013-05-06 11:18:21 UTC
Review of attachment 243373 [details] [review]:

sure
Comment 3 Stef Walter 2013-05-06 12:29:19 UTC
Attachment 243373 [details] pushed as ed1edda - gtksettings: Fix loading of uint settings

Pushed to git master. Okay to backport to gtk-3-8 and other relevant branches?