Commit b55d0887 authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Fix gdk warnings. Patch from Michele Baldessari. Closes bug #309025.

2005-10-02  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vtebg.c: (_vte_property_get_pixmaps):
	* src/vterdb.c: (_vte_property_get_string):
	Fix gdk warnings. Patch from Michele Baldessari.
	Closes bug #309025.
parent 1a5f3494
2005-10-02 Kjartan Maraas <kmaraas@gnome.org>
* src/vtebg.c: (_vte_property_get_pixmaps):
* src/vterdb.c: (_vte_property_get_string):
Fix gdk warnings. Patch from Michele Baldessari.
Closes bug #309025.
2005-09-16 Kjartan Maraas <kmaraas@gnome.org>
* src/vtexft.c: (_vte_xft_font_for_char): Optimize memory
......
......@@ -112,7 +112,7 @@ _vte_property_get_pixmaps(GdkWindow *window, GdkAtom atom,
XID **pixmaps)
{
return gdk_property_get(window, atom, GDK_TARGET_PIXMAP,
0, INT_MAX,
0, INT_MAX - 3,
FALSE,
type, NULL, size,
(guchar**) pixmaps);
......
......@@ -40,7 +40,7 @@ _vte_property_get_string(GdkWindow *window, GdkAtom atom,
char **retval)
{
return gdk_property_get(window, atom, GDK_TARGET_STRING,
0, INT_MAX,
0, INT_MAX - 3,
FALSE,
type, NULL, size,
(guchar**) retval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment