diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-02-17 22:05:47 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-02-17 22:05:47 +0000 |
commit | 6c8430c0c41b3d95188858f5570f31dae698eeac (patch) | |
tree | a65280d7288eda5658b9863e654a3cc74f38e07a /ChangeLog | |
parent | fe956696a3ee242b3c6c7937b13908070fe40cd0 (diff) | |
download | gtk+-6c8430c0c41b3d95188858f5570f31dae698eeac.tar.gz |
Fix for #119722, reported by Olexiy Avramchenko, patch by Owen Taylor.
Tue Feb 17 23:02:58 2004 Soeren Sandmann <sandmann@daimi.au.dk>
Fix for #119722, reported by Olexiy Avramchenko, patch by Owen
Taylor.
* gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field
* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's
depth.
* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query
the colormap, if no colormap, special case depth 1,
* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use
_gdk_gc_x11_get_fg_xft_color() to get the foreground color.
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw):
Special-case bitmaps without a colormap.
* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited
draw_pixbuf() implementation in the bitmap case.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1,3 +1,25 @@ +Tue Feb 17 23:02:58 2004 Soeren Sandmann <sandmann@daimi.au.dk> + + Fix for #119722, reported by Olexiy Avramchenko, patch by Owen + Taylor. + + * gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field + + * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's + depth. + + * gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query + the colormap, if no colormap, special case depth 1, + + * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use + _gdk_gc_x11_get_fg_xft_color() to get the foreground color. + + * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw): + Special-case bitmaps without a colormap. + + * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited + draw_pixbuf() implementation in the bitmap case. + 2004-02-17 Mark McLoughlin <mark@skynet.ie> * modules/input/Makefile.am: only reference input method |