summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkpixmap-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-12-30 20:06:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-12-30 20:06:14 +0000
commitee4c69b68eab418e9458ff535f1e21ef853052af (patch)
treef06f4e00569b279eef73a95e49146ffeef0acf88 /gdk/win32/gdkpixmap-win32.c
parentd5be411c7bcfe21e5bff4cd921c86a2fc8f86c35 (diff)
downloadgtk+-ee4c69b68eab418e9458ff535f1e21ef853052af.tar.gz
New function, as in the X11 backend. (gdk_window_new,
2000-12-30 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_get_visible_region): New function, as in the X11 backend. (gdk_window_new, gdk_window_set_title): Use g_locale_from_utf8() instead of duplicating the same code here. * gdk/win32/gdkwin32.h (GDK_COLORMAP_PRIVATE_DATA): Use GDK_COLORMAP macro. * gdk/win32/gdkevents-win32.c (gdk_event_funcs): Use NULL as destroy function. (gdk_event_translate): Use GDK_COLORMAP_PRIVATE_DATA to correctly access that. * gtk/gtk.def: Update. * gtk/makefile.mingw.in: Use glib-genmarshal from $(GLIB)/gobject. 2000-12-26 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkvisual-win32.c (gdk_visual_init): Call g_error if we are on a palettized display ("PseudoColor" in X11), as the code for that doesn't work anyway, and never has. 2000-12-30 Tor Lillqvist <tml@iki.fi> * gdk_pixbuf.def: Update.
Diffstat (limited to 'gdk/win32/gdkpixmap-win32.c')
-rw-r--r--gdk/win32/gdkpixmap-win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/win32/gdkpixmap-win32.c b/gdk/win32/gdkpixmap-win32.c
index f20a21df4d..5ea1488940 100644
--- a/gdk/win32/gdkpixmap-win32.c
+++ b/gdk/win32/gdkpixmap-win32.c
@@ -231,12 +231,14 @@ gdk_pixmap_new (GdkWindow *window,
bmi.u.bmiColors[1].rgbRed = 0xFF;
bmi.u.bmiColors[1].rgbReserved = 0x00;
draw_impl->colormap = NULL;
+ GDK_NOTE (MISC, g_print ("... colormap NULL\n"));
}
else
{
draw_impl->colormap = GDK_DRAWABLE_IMPL_WIN32 (GDK_WINDOW_OBJECT (window)->impl)->colormap;
if (draw_impl->colormap == NULL)
draw_impl->colormap = gdk_colormap_get_system ();
+ GDK_NOTE (MISC, g_print ("... colormap %p\n", draw_impl->colormap));
if (depth == 8)
{