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.
This commit is contained in:
marcm 2005-09-06 04:10:12 +00:00
parent 9747080e51
commit 991bc728f6
3 changed files with 26 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2005/04/12 21:23:12 marcm Exp $
# $OpenBSD: Makefile,v 1.8 2005/09/06 04:10:12 marcm Exp $
COMMENT= "terminal emulatation library"
DISTNAME= vte-0.11.12
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/

View File

@ -0,0 +1,12 @@
$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);

View File

@ -0,0 +1,12 @@
$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);