summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c
blob: ba18a62305b7fd9452377b9f2b745e8a8e47d4dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gdk/gdkimage.c.orig	Wed Dec 19 08:39:12 2001
+++ gdk/gdkimage.c	Wed Dec 19 08:39:19 2001
@@ -213,7 +213,7 @@
 
 	      x_shm_info->shmid = shmget (IPC_PRIVATE,
 					  private->ximage->bytes_per_line * private->ximage->height,
-					  IPC_CREAT | 0777);
+					  IPC_CREAT | SHM_R | SHM_W);
 
 	      if (x_shm_info->shmid == -1)
 		{