summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2003-06-28 01:12:51 +0000
committerTor Lillqvist <tml@src.gnome.org>2003-06-28 01:12:51 +0000
commit323bcc614d46abc4eb4095664ee524a1ab25cfce (patch)
tree9b10aacdd96e75242c332b81ee5fef6568685b5a /ChangeLog.pre-2-10
parent8597f10089e2a7d44ec82cff5230aeef876e8fbc (diff)
downloadgtk+-323bcc614d46abc4eb4095664ee524a1ab25cfce.tar.gz
Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the
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.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r--ChangeLog.pre-2-1029
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 0f0ec2b01d..3e9e023c82 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,32 @@
+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.
+
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c