openbsd-ports/devel/vte/patches/patch-src_vterdb_c
marcm 991bc728f6 Later GTK+ versions print warnings about improper args to gdk_property_get,
vte does this so fix it in advance of any GTK+ updates.

Bump package version accordingly.
2005-09-06 04:10:12 +00:00

13 lines
395 B
Plaintext

$OpenBSD: patch-src_vterdb_c,v 1.1 2005/09/06 04:10:12 marcm Exp $
--- src/vterdb.c.orig Mon Aug 29 16:24:30 2005
+++ src/vterdb.c Mon Aug 29 16:24:47 2005
@@ -40,7 +40,7 @@ _vte_property_get_string(GdkWindow *wind
char **retval)
{
return gdk_property_get(window, atom, GDK_TARGET_STRING,
- 0, INT_MAX,
+ 0, INT_MAX - 3,
FALSE,
type, NULL, size,
(guchar**) retval);