[gtk+/gtk-2-24] win32: Make sure to set is_foreign for foreign pixmaps
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] win32: Make sure to set is_foreign for foreign pixmaps
- Date: Wed, 9 Nov 2011 12:34:09 +0000 (UTC)
commit 36f2f822f2fdd789791a0248e33815366e325e1f
Author: Alexander Larsson <alexl redhat com>
Date: Wed Nov 9 13:20:38 2011 +0100
win32: Make sure to set is_foreign for foreign pixmaps
gdk/win32/gdkpixmap-win32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkpixmap-win32.c b/gdk/win32/gdkpixmap-win32.c
index 1ee3f1e..c8b33b4 100644
--- a/gdk/win32/gdkpixmap-win32.c
+++ b/gdk/win32/gdkpixmap-win32.c
@@ -486,6 +486,7 @@ gdk_pixmap_foreign_new (GdkNativeWindow anid)
draw_impl->handle = hbitmap;
draw_impl->colormap = NULL;
+ pix_impl->is_foreign = TRUE;
pix_impl->width = size.cx;
pix_impl->height = size.cy;
pix_impl->bits = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]