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:
committed by
Matthias Clasen
parent
0f0845a6b6
commit
1bb487a2c7
@ -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>
|
2006-02-19 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
|
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
|
||||||
|
|||||||
@ -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>
|
2006-02-19 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
|
* 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 (fill == GDK_OPAQUE_STIPPLED)
|
||||||
{
|
|
||||||
if (override_foreground)
|
|
||||||
foreground = *override_foreground;
|
|
||||||
else
|
|
||||||
gc_get_background (gc, &background);
|
gc_get_background (gc, &background);
|
||||||
}
|
|
||||||
|
|
||||||
switch (fill)
|
switch (fill)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user