[gtk+] Fix the return type of gdk_selection_property_get
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the return type of gdk_selection_property_get
- Date: Thu, 3 Sep 2009 02:52:19 +0000 (UTC)
commit 2f80806359f9d6f064cdc85f61eae1021e486bb2
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 2 22:50:05 2009 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h
index 325c383..1a96214 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]