[gtk+/gtk-2-24] win32: Fix up error message



commit a9b127660b034bccabc3480c6193e87a90aa50b0
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Nov 9 13:20:14 2011 +0100

    win32: Fix up error message

 gdk/win32/gdkdrawable-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkdrawable-win32.c b/gdk/win32/gdkdrawable-win32.c
index 622200d..b8a30b0 100644
--- a/gdk/win32/gdkdrawable-win32.c
+++ b/gdk/win32/gdkdrawable-win32.c
@@ -1860,7 +1860,7 @@ _gdk_win32_drawable_acquire_dc (GdkDrawable *drawable)
 						    impl->handle);
 	      if (!impl->saved_dc_bitmap)
 		{
-		  WIN32_GDI_FAILED ("CreateCompatibleDC");
+		  WIN32_GDI_FAILED ("SelectObject");
 		  DeleteDC (impl->hdc);
 		  impl->hdc = NULL;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]