diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-05-12 22:29:31 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-05-12 22:29:31 +0000 |
commit | cab7ca49d53d0887a3ca5c924e511213532522bf (patch) | |
tree | c045dde7726ad522b2bf7c169bf5c688155c318d /ChangeLog.pre-2-6 | |
parent | 438e6357b731ecff431b40beb5081975668c55f1 (diff) | |
download | gdk-pixbuf-cab7ca49d53d0887a3ca5c924e511213532522bf.tar.gz |
Define more message types missing from mingw headers.
2000-05-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwin32.h: Define more message types missing from
mingw headers.
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On WM_DESTROY
call gdk_window_destroy_notify(). It was never called. This
probably meant that the GdkWindow was never freed. Thanks Owen for
noticing (!).
* gdk/win32/gdkwindow-win32.c (gdk_window_internal_destroy): Mark
window as destroyed before calling DestroyWindow(). DestroyWindow()
causes a call to the window procedure (gdk_WindowProc), which
calls gdk_event_translate(), which calls
gdk_window_destroy_notify(), which gets confused unless the window
is set as destroyed.
* gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string): Rename
this function to indicate it's win32 only. Put inside #ifdef
G_ENABLE_DEBUG.
* gdk/win32/gdkevents-win32.c (gdk_win32_message_name): New
debugging function. (gdk_event_translate:) Add a default branch
that uses the above function to print debug messages with all
Windows messages symbolically.
* gdk/win32/gdkprivate-win32.h: Declare it, and
gdk_win32_color_to_string, but only if G_ENABLE_DEBUG.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index cfb505855..41451f3c8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,32 @@ +2000-05-13 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkwin32.h: Define more message types missing from + mingw headers. + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): On WM_DESTROY + call gdk_window_destroy_notify(). It was never called. This + probably meant that the GdkWindow was never freed. Thanks Owen for + noticing (!). + + * gdk/win32/gdkwindow-win32.c (gdk_window_internal_destroy): Mark + window as destroyed before calling DestroyWindow(). DestroyWindow() + causes a call to the window procedure (gdk_WindowProc), which + calls gdk_event_translate(), which calls + gdk_window_destroy_notify(), which gets confused unless the window + is set as destroyed. + + * gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string): Rename + this function to indicate it's win32 only. Put inside #ifdef + G_ENABLE_DEBUG. + + * gdk/win32/gdkevents-win32.c (gdk_win32_message_name): New + debugging function. (gdk_event_translate:) Add a default branch + that uses the above function to print debug messages with all + Windows messages symbolically. + + * gdk/win32/gdkprivate-win32.h: Declare it, and + gdk_win32_color_to_string, but only if G_ENABLE_DEBUG. + Fri May 12 20:07:32 2000 Tim Janik <timj@gtk.org> * gtk/gtkcolorseldialog.c: don't include gtk/gtkintl.h in a |