forked from AuroraMiddleware/gtk
323bcc614d
2003-06-28 Tor Lillqvist <tml@iki.fi> Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the GdkPixmap->GdkImage reference really isn't important. It's only really there to have somewhere convenient to store the location of the pixel data in the pixmap and as an easy way of accessing the dimensions of that data. I have therefore put together a fix which removes this reference entirely which seems to solve the problem. * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32): Instead of a pointer to a GdkImage, keep a pointer to the pixels directly. * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove. (_gdk_win32_new_image): New function, replacing the above. Creates a GdkImage without any associated GdkPixmap. (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead. * gdk/win32/gdkprivate-win32.h: Remove from here, too. * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap) * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap) * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn) * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description): * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize, gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new) Corresponding changes. |
||
---|---|---|
.. | ||
rc | ||
.cvsignore | ||
bdfcursor.c | ||
gdkcolor-win32.c | ||
gdkcursor-win32.c | ||
gdkdisplay-win32.c | ||
gdkdnd-win32.c | ||
gdkdrawable-win32.c | ||
gdkdrawable-win32.h | ||
gdkevents-win32.c | ||
gdkfont-win32.c | ||
gdkgc-win32.c | ||
gdkgeometry-win32.c | ||
gdkglobals-win32.c | ||
gdkim-win32.c | ||
gdkimage-win32.c | ||
gdkinput-win32.c | ||
gdkinput-win32.h | ||
gdkinput.c | ||
gdkkeys-win32.c | ||
gdkmain-win32.c | ||
gdkpango-win32.c | ||
gdkpixmap-win32.c | ||
gdkpixmap-win32.h | ||
gdkprivate-win32.h | ||
gdkproperty-win32.c | ||
gdkscreen-win32.c | ||
gdkselection-win32.c | ||
gdkvisual-win32.c | ||
gdkwin32.h | ||
gdkwin32id.c | ||
gdkwindow-win32.c | ||
gdkwindow-win32.h | ||
libie55uuid.la | ||
libwntab32x.la | ||
Makefile.am | ||
makefile.msc | ||
xcursors.h |