Commit 1bb487a2 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent 0f0845a6
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)
2006-02-19 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
......
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)
2006-02-19 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment