[pygtk] Make gtk.gdk.Pixbuf.add_alpha accept integers, not strings
- From: Paul Pogonyshev <paulp src gnome org>
- To: svn-commits-list gnome org
- Subject: [pygtk] Make gtk.gdk.Pixbuf.add_alpha accept integers, not strings
- Date: Wed, 17 Jun 2009 18:11:44 -0400 (EDT)
commit 88dfa818d5ccc4f9d570f94eea6f14814cd67ace
Author: Paul Pogonyshev <pogonyshev gmx net>
Date: Thu Jun 18 01:06:28 2009 +0300
Make gtk.gdk.Pixbuf.add_alpha accept integers, not strings
Bug #586094.
gtk/gdk-base.defs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gdk-base.defs b/gtk/gdk-base.defs
index 7d1de08..34fb421 100644
--- a/gtk/gdk-base.defs
+++ b/gtk/gdk-base.defs
@@ -5301,9 +5301,11 @@
(return-type "GdkPixbuf*")
(parameters
'("gboolean" "substitute_color")
- '("guchar" "r")
- '("guchar" "g")
- '("guchar" "b")
+ ;; Bug #586094: actually 'guchar' in function declaration, but
+ ;; really means '8-bit integer'.
+ '("guint8" "r")
+ '("guint8" "g")
+ '("guint8" "b")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]