diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-02-20 17:57:09 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-02-20 17:57:09 +0000 |
commit | 1bb487a2c70f5bffa69d191d93da4c1ad466c05e (patch) | |
tree | 4ac116bb3902f3ecde1675dd84376e34b7906d9d /gdk/gdkgc.c | |
parent | 0f0845a6b68991119e8155baa695b87d019c94ea (diff) | |
download | gtk+-1bb487a2c70f5bffa69d191d93da4c1ad466c05e.tar.gz |
Obtain the background color from the gc when it is needed. (#331820)
2006-02-20 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Obtain the
background color from the gc when it is needed. (#331820)
Diffstat (limited to 'gdk/gdkgc.c')
-rw-r--r-- | gdk/gdkgc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c index 066f0c57d1..664d5a03cc 100644 --- a/gdk/gdkgc.c +++ b/gdk/gdkgc.c @@ -1152,12 +1152,8 @@ _gdk_gc_update_context (GdkGC *gc, } if (fill == GDK_OPAQUE_STIPPLED) - { - if (override_foreground) - foreground = *override_foreground; - else - gc_get_background (gc, &background); - } + gc_get_background (gc, &background); + switch (fill) { |