Bug 376273 - GTK 2.0 runtime message failed to retrieve property `gtk-primary-button-warps-slider'
Summary: GTK 2.0 runtime message failed to retrieve property `gtk-primary-button-warp...
Status: RESOLVED FIXED
Alias: None
Product: kde-gtk-config
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.8.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Manuel Tortosa
URL:
Keywords:
: 374948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-10 09:16 UTC by Guo Yunhe
Modified: 2017-02-10 22:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.6
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2017-02-10 09:16:29 UTC
When I run GTK2 applications, like Inkscape, from command line, I will always get a small message:

Gtk-Message: /home/sign/.gtkrc-2.0:19: failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x1c98620)" of type `gboolean'

This line in configuration file ~/.gtkrc-2.0 :

gtk-primary-button-warps-slider=true

should be changed to :

gtk-primary-button-warps-slider=1

Then the GTK message will disappear.
Comment 1 Elvis Angelaccio 2017-02-10 22:53:14 UTC
Thanks for reporting
Comment 2 Elvis Angelaccio 2017-02-10 22:53:28 UTC
*** Bug 374948 has been marked as a duplicate of this bug. ***
Comment 3 Elvis Angelaccio 2017-02-10 22:55:34 UTC
Git commit 4a06c4d34f2dd8859058618b1dbe9dbd6df9e9b8 by Elvis Angelaccio.
Committed on 10/02/2017 at 22:49.
Pushed by elvisangelaccio into branch 'Plasma/5.8'.

Fix gtk-primary-button-warps-slider with GTK 2

Summary:
Replace true/false with 1/0. The former works only with GTK 3, but
breaks with GTK 2 apps.
FIXED-IN: 5.8.6

Test Plan: Tested with inkscape (which is gtk2); still works with gtk3 apps.

Reviewers: apol, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4557

M  +2    -2    src/abstractappearance.cpp

https://commits.kde.org/kde-gtk-config/4a06c4d34f2dd8859058618b1dbe9dbd6df9e9b8