summaryrefslogtreecommitdiff
path: root/gtk/deprecated
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/deprecated')
-rw-r--r--gtk/deprecated/gtkstyle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/deprecated/gtkstyle.c b/gtk/deprecated/gtkstyle.c
index 526636890c..16e3ce4542 100644
--- a/gtk/deprecated/gtkstyle.c
+++ b/gtk/deprecated/gtkstyle.c
@@ -673,7 +673,7 @@ set_color (GtkStyle *style,
break;
}
- if (color)
+ if (color && color->alpha > 0.01)
{
dest->pixel = 0;
dest->red = CLAMP ((guint) (color->red * 65535), 0, 65535);