summaryrefslogtreecommitdiff
path: root/gdk/gdkselection.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-02 22:50:05 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-02 22:50:05 -0400
commit2f80806359f9d6f064cdc85f61eae1021e486bb2 (patch)
treeb87da6db5bef4ba6faddad9e5354c757e88a1902 /gdk/gdkselection.h
parent05d39e4085d70d0693af1afb24ad08dee14b3d99 (diff)
downloadgtk+-2f80806359f9d6f064cdc85f61eae1021e486bb2.tar.gz
Fix the return type of gdk_selection_property_get
It returns the length of the property, not a boolean. Reported in bug 593788.
Diffstat (limited to 'gdk/gdkselection.h')
-rw-r--r--gdk/gdkselection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h
index 325c38321c..1a96214425 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);