Simplify "blank background" code.

This commit is contained in:
Daiki Ueno
2011-03-08 06:04:41 +09:00
parent d8e691d3f5
commit 163e005561
2 changed files with 3 additions and 19 deletions

View File

@ -138,12 +138,7 @@ eek_gtk_keyboard_real_draw (GtkWidget *self,
background.green,
background.blue,
background.alpha);
cairo_rectangle (cr,
0.0,
0.0,
allocation.width,
allocation.height);
cairo_fill (cr);
cairo_paint (cr);
eek_renderer_render_keyboard (priv->renderer, cr);