GNOME Bugzilla – Bug 618727
gtk_rc_get_style_by_paths can return NULL
Last modified: 2010-10-04 01:06:36 UTC
Created attachment 161131 [details] [review] patch solving the problem In functions gkbd_indicator_config_load_font and gkbd_indicator_config_load_colors, gtk_rc_get_style_by_paths returns NULL in some situations. I can trigger it by changing the color in gnome-appearance-properties -> Modify -> Colors -> change some color. A simple patch attached.
Your patch looks correct, I'll commit it - but could you please explain, how do you manage to get style = NULL?
ok, in git. thanks!
I explained it in the bug report. It is sufficient to change a color the theme selector, or to change the theme, and I get style = NULL. Do not ask me why.
Well, actually my question was "why":) Sorry, I did not make myself clear. Anyway, it is fixed now. Thank you.
*** Bug 619769 has been marked as a duplicate of this bug. ***
*** Bug 631168 has been marked as a duplicate of this bug. ***