From 2f80806359f9d6f064cdc85f61eae1021e486bb2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 2 Sep 2009 22:50:05 -0400 Subject: [PATCH] Fix the return type of gdk_selection_property_get It returns the length of the property, not a boolean. Reported in bug 593788. --- gdk/gdkselection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h index 325c38321..1a9621442 100644 --- a/gdk/gdkselection.h +++ b/gdk/gdkselection.h @@ -86,7 +86,7 @@ void gdk_selection_convert (GdkWindow *requestor, GdkAtom selection, GdkAtom target, guint32 time_); -gboolean gdk_selection_property_get (GdkWindow *requestor, +gint gdk_selection_property_get (GdkWindow *requestor, guchar **data, GdkAtom *prop_type, gint *prop_format);