summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-02-17 22:03:29 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-02-17 22:03:29 +0000
commit28bfe195942912cb81e03dc6d98b778f4df17a50 (patch)
treec96832b4054bfc9b7b54927cb56b2235c658de33 /ChangeLog.pre-2-10
parent38d639c0e856d581f5ac57282aa09274408bf4b4 (diff)
downloadgdk-pixbuf-28bfe195942912cb81e03dc6d98b778f4df17a50.tar.gz
Don't set the PC_EXPLICIT flag for unused palette entries, that might have
2002-02-17 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkcolor-win32.c (free_colors): Don't set the PC_EXPLICIT flag for unused palette entries, that might have undesired side effects. Just set them to black. Black is always present in a palette, so having superfluous black entries won't cause any extra allocations from the system palette either when realized. * gdk/win32/gdkevents-win32.c (gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the system visual is static color, i.e. the user has told GDK to use just the 16 static colors. In that case no need to redraw anything, as the colors are static and by definition always correctly mapped in the system palette. (WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r--ChangeLog.pre-2-1019
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index eed75915c..f49e75175 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,22 @@
+2002-02-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkcolor-win32.c (free_colors): Don't set the
+ PC_EXPLICIT flag for unused palette entries, that might have
+ undesired side effects. Just set them to black. Black is always
+ present in a palette, so having superfluous black entries won't
+ cause any extra allocations from the system palette either when
+ realized.
+
+ * gdk/win32/gdkevents-win32.c
+ (gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the
+ system visual is static color, i.e. the user has told GDK to use
+ just the 16 static colors. In that case no need to redraw
+ anything, as the colors are static and by definition always
+ correctly mapped in the system palette.
+ (WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either.
+
+ * gtk/gtk.def: Add new gtkfilesel entry points.
+
2002-02-17 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,