summaryrefslogtreecommitdiff
blob: eb8bb88993007cc9a73161c10d8fef63722a1436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- vte-0.11.13/src/vtebg.c	20 Apr 2004 06:35:43 -0000	1.9
+++ vte-0.11.13/src/vtebg.c	25 Jun 2005 21:38:09 -0000
@@ -112,7 +112,7 @@
 			  XID **pixmaps)
 {
 	return gdk_property_get(window, atom, GDK_TARGET_PIXMAP,
-				0, INT_MAX,
+				0, INT_MAX - 3,
 				FALSE,
 				type, NULL, size,
 				(guchar**) pixmaps);

--- vte-0.11.13/src/vterdb.c	20 Apr 2004 05:16:56 -0000	1.8
+++ vte-0.11.13/src/vterdb.c	25 Jun 2005 21:38:09 -0000
@@ -40,7 +40,7 @@
 			 char **retval)
 {
 	return gdk_property_get(window, atom, GDK_TARGET_STRING,
-				0, INT_MAX,
+				0, INT_MAX - 3,
 				FALSE,
 				type, NULL, size,
 				(guchar**) retval);