gimp r26989 - in trunk: . app/plug-in
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26989 - in trunk: . app/plug-in
- Date: Thu, 18 Sep 2008 09:35:00 +0000 (UTC)
Author: tml
Date: Thu Sep 18 09:35:00 2008
New Revision: 26989
URL: http://svn.gnome.org/viewvc/gimp?rev=26989&view=rev
Log:
2008-09-18 Tor Lillqvist <tml novell com>
* app/plug-in/gimppluginshm.c: Use INVALID_HANDLE_VALUE instead of
INVALID_FILE_HANDLE which was an misunderstanding.
Modified:
trunk/ChangeLog
trunk/app/plug-in/gimppluginshm.c
Modified: trunk/app/plug-in/gimppluginshm.c
==============================================================================
--- trunk/app/plug-in/gimppluginshm.c (original)
+++ trunk/app/plug-in/gimppluginshm.c Thu Sep 18 09:35:00 2008
@@ -60,10 +60,6 @@
#define USE_WIN32_SHM 1
-#ifndef INVALID_FILE_HANDLE
-#define INVALID_FILE_HANDLE ((HANDLE) 0xFFFFFFFF)
-#endif
-
#endif /* G_OS_WIN32 || G_WITH_CYGWIN */
#include "plug-in-types.h"
@@ -146,7 +142,7 @@
g_snprintf (fileMapName, sizeof (fileMapName), "GIMP%d.SHM", pid);
/* Create the file mapping into paging space */
- shm->shm_handle = CreateFileMapping (INVALID_FILE_HANDLE, NULL,
+ shm->shm_handle = CreateFileMapping (INVALID_HANDLE_VALUE, NULL,
PAGE_READWRITE, 0,
TILE_MAP_SIZE,
fileMapName);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]