forked from AuroraMiddleware/gtk
Get the foreground color, not the background color.
2005-05-07 Owen Taylor <otaylor@redhat.com> * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not the background color.
This commit is contained in:
parent
274e49f37e
commit
e60f060ea8
@ -1,3 +1,8 @@
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
|
||||
the background color.
|
||||
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
|
||||
the background color.
|
||||
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
|
||||
the background color.
|
||||
|
||||
2005-05-07 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source):
|
||||
|
@ -1079,7 +1079,7 @@ gc_get_foreground (GdkGC *gc,
|
||||
color->pixel = priv->bg_pixel;
|
||||
|
||||
if (gc->colormap)
|
||||
gdk_colormap_query_color (gc->colormap, priv->bg_pixel, color);
|
||||
gdk_colormap_query_color (gc->colormap, priv->fg_pixel, color);
|
||||
else
|
||||
g_warning ("No colormap in gc_get_background");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user