]> Pileus Git - ~andy/gtk/commitdiff
themingengine: render a frame in gtk_render_handle()
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 25 Apr 2012 01:47:45 +0000 (21:47 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 26 Apr 2012 17:45:24 +0000 (13:45 -0400)
We already render a background there after all.

https://bugzilla.gnome.org/show_bug.cgi?id=674808

gtk/gtkthemingengine.c

index 1d3bc129f5be9d404f0aba3b93fbac887de3c594..fefc740def3353e991ac3afa3565eaada7eced4f 100644 (file)
@@ -2412,6 +2412,8 @@ gtk_theming_engine_render_handle (GtkThemingEngine *engine,
   _gtk_theming_background_init (&bg, engine, x, y, width, height, sides);
   _gtk_theming_background_render (&bg, cr);
 
+  gtk_theming_engine_render_frame (engine, cr, x, y, width, height);
+
   if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_GRIP))
     {
       /* reduce confusing values to a meaningful state */