[cairo] re-re post : murring gtk theme engine and cairo

Philippe Strauss philippe at strauss-engineering.ch
Mon Oct 9 15:18:35 UTC 2017


Found the culprit from the gtk2 themes endpoint.
If you install for test purposes the Orta theme,
in the Styles subdir, the fixes.rc file contain
the following:

 89 style "fg-is-text-color-workaround"
 90 {       
 91         fg[NORMAL]                              = @text_color
 92         fg[PRELIGHT]                            = @text_color
 93         fg[ACTIVE]                              = @selected_fg_color
 94         fg[SELECTED]                            = @selected_fg_color
 95         fg[INSENSITIVE]                         = darker (@bg_color)
 96 }
 97 
 98 #style "label"
 99 #{
100 #       engine "murrine"
101 #       {
102 #       }
103 #}
104 
105 style "murrine-tooltips"
106 {

commenting out the style label and my app doesn't crash anymore, just warn the following in the console:

philou at air:~/mysrc/straightliner$ ./straightliner.opt 
/Users/philou/.themes/Orta/gtk-2.0/Styles/fixes.rc:159: error: invalid string constant "label", expected valid string constant




Regards

--
Philippe STRAUSS


More information about the cairo mailing list