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)
This commit is contained in:
Matthias Clasen 2006-02-20 17:57:09 +00:00 committed by Matthias Clasen
parent 0f0845a6b6
commit 1bb487a2c7
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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)
{