diff options
author | Hans Breuer <hans@breuer.org> | 2004-11-30 22:56:35 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2004-11-30 22:56:35 +0000 |
commit | 8dcf7d1d8a8fa69e21f318953c62b1aa49584c94 (patch) | |
tree | 28873528240f2316b97546579cfa04c8b144cac9 /gdk/win32/gdkpixmap-win32.c | |
parent | 35a3099ec676f0e4b62173154c377084c9f80640 (diff) | |
download | gtk+-8dcf7d1d8a8fa69e21f318953c62b1aa49584c94.tar.gz |
remove the disputable memset at the end of gdk_pixmap_new() - on X11 the
2004-11-30 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c : remove the disputable memset at
the end of gdk_pixmap_new() - on X11 the bits are not initialized
either - fixes bug #145107
* gtk/gtkfilesystemwin32.c : add an idle handler to emit "volumes-changed"
when drives are plugged in or removed. Fixes bug #137815
Diffstat (limited to 'gdk/win32/gdkpixmap-win32.c')
-rw-r--r-- | gdk/win32/gdkpixmap-win32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk/win32/gdkpixmap-win32.c b/gdk/win32/gdkpixmap-win32.c index d62b565455..22515c5548 100644 --- a/gdk/win32/gdkpixmap-win32.c +++ b/gdk/win32/gdkpixmap-win32.c @@ -304,8 +304,6 @@ 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); |