openbsd-ports/devel/vte/patches/patch-src_vtebg_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
396 B
Plaintext

$OpenBSD: patch-src_vtebg_c,v 1.1 2005/09/06 04:10:12 marcm Exp $
--- src/vtebg.c.orig Mon Aug 29 16:22:36 2005
+++ src/vtebg.c Mon Aug 29 16:23:02 2005
@@ -112,7 +112,7 @@ _vte_property_get_pixmaps(GdkWindow *win
XID **pixmaps)
{
return gdk_property_get(window, atom, GDK_TARGET_PIXMAP,
- 0, INT_MAX,
+ 0, INT_MAX - 3,
FALSE,
type, NULL, size,
(guchar**) pixmaps);