[gtk+] color-swatch: render a background if the swatch doesn't have a color
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] color-swatch: render a background if the swatch doesn't have a color
- Date: Sat, 18 Feb 2012 08:56:52 +0000 (UTC)
commit dcec8dfddec02e0dd6d01d861c3cfdbeb418233a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Feb 17 18:57:24 2012 +0100
color-swatch: render a background if the swatch doesn't have a color
We still want to call into the background rendering code, to draw the
default background.
gtk/gtkcolorswatch.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index f0bde91..0429455 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -145,6 +145,8 @@ swatch_draw (GtkWidget *widget,
_gtk_theming_background_render (&background, cr);
}
+ else
+ _gtk_theming_background_render (&background, cr);
gtk_render_frame (context, cr,
0, 0, width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]