]> Pileus Git - ~andy/gtk/commit - gtk/gtkstylecontext.c
Exit early in gtk_style_context_update_cache codepaths
authorAlexander Larsson <alexl@redhat.com>
Fri, 9 Nov 2012 09:15:23 +0000 (10:15 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 9 Nov 2012 09:15:23 +0000 (10:15 +0100)
commit55d65571f37d3f6428e418c4e8bc4171c24a9741
treedd9ddb39831c81a7085ad3c1bb191a5e155fef9f
parent77912a65e2aa6eb9cfee994fa93bbfbc6b9f8538
Exit early in gtk_style_context_update_cache codepaths

If lookup->missing is empty we don't need to continue looking.
We short circuit in several places as this can happen
after iteratively makeign lookup->missing smaller.
gtk/gtkcssprovider.c
gtk/gtkstylecontext.c