forked from AuroraMiddleware/gtk
initialize bits to 0 (probably default on NT)
2003-08-06 Hans Breuer <hans@breuer.org> * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : initialize bits to 0 (probably default on NT)
This commit is contained in:
parent
76cb03f43f
commit
d3b962ce0f
@ -1,5 +1,8 @@
|
||||
2003-08-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
|
||||
initialize bits to 0 (probably default on NT)
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
|
||||
now it works as intended ;-)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-08-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
|
||||
initialize bits to 0 (probably default on NT)
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
|
||||
now it works as intended ;-)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-08-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
|
||||
initialize bits to 0 (probably default on NT)
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
|
||||
now it works as intended ;-)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-08-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
|
||||
initialize bits to 0 (probably default on NT)
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
|
||||
now it works as intended ;-)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-08-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
|
||||
initialize bits to 0 (probably default on NT)
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
|
||||
now it works as intended ;-)
|
||||
|
||||
|
@ -303,6 +303,8 @@ gdk_pixmap_new (GdkDrawable *drawable,
|
||||
}
|
||||
|
||||
drawable_impl->handle = hbitmap;
|
||||
/* initialize */
|
||||
//memset (bits, 0, (bmi.bmiHeader.biBitCount * width * height) / 8);
|
||||
pixmap_impl->bits = bits;
|
||||
|
||||
gdk_win32_handle_table_insert (&GDK_PIXMAP_HBITMAP (pixmap), pixmap);
|
||||
|
Loading…
Reference in New Issue
Block a user