]> Pileus Git - ~andy/gtk/commit
css: Speed up name matching
authorAlexander Larsson <alexl@redhat.com>
Mon, 10 Dec 2012 11:57:10 +0000 (12:57 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 10 Dec 2012 11:57:10 +0000 (12:57 +0100)
commita1ee2b7b82154a506f6dee546975ed97a5fc9e2a
tree90a3962d58e8474e092be859d86166c974e68c2c
parent089eafb468ac1a49dfd839421346d1ad9b9c3263
css: Speed up name matching

We use the new g_type_get_type_registration_serial() so that we can
cache and properly invalidate the result of g_type_from_name().

This bumps the glib requirement to 2.35.3 to get the new function.

https://bugzilla.gnome.org/show_bug.cgi?id=689847
configure.ac
gtk/gtkcssmatcher.c
gtk/gtkcssmatcherprivate.h
gtk/gtkcssselector.c