]> Pileus Git - ~andy/gtk/commit
settings: Use _gtk_css_provider_load_named()
authorBenjamin Otte <otte@redhat.com>
Wed, 19 Sep 2012 14:41:19 +0000 (16:41 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 31 Oct 2012 10:09:10 +0000 (11:09 +0100)
commitb1ad5c8abc2ca054bbf19ffddfb0a0af7195e50c
tree42ebdcd86a48273ac7fe653eba58cc233a10d2a0
parentb41215bdeaff963a4ad8be9cda8d841feb612b2b
settings: Use _gtk_css_provider_load_named()

This way we create one provider per settings object instead of stuffing
it into a global unchanging never-deleting hash table.
Also, we now reload the theme when instructed instead of keeping the old
loaded (and possibly stale) data forever.

https://bugzilla.gnome.org/show_bug.cgi?id=683896
gtk/gtksettings.c