[pygtk] Release GIL in several gdk.Pixbuf methods
- From: Paul Pogonyshev <paulp src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygtk] Release GIL in several gdk.Pixbuf methods
- Date: Tue, 24 Nov 2009 21:37:57 +0000 (UTC)
commit f3691203d7405f400a2a731cb4f0ae76488c11ad
Author: Paul Pogonyshev <pogonyshev gmx net>
Date: Tue Nov 24 23:34:08 2009 +0200
Release GIL in several gdk.Pixbuf methods
Bug #591726.
gtk/gdk-base.defs | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gdk-base.defs b/gtk/gdk-base.defs
index 34fb421..0951e9a 100644
--- a/gtk/gdk-base.defs
+++ b/gtk/gdk-base.defs
@@ -3150,6 +3150,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_rotate_simple")
(return-type "GdkPixbuf*")
+ (unblock-threads #t)
(parameters
'("int" "angle")
)
@@ -5328,6 +5329,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_saturate_and_pixelate")
(return-type "none")
+ (unblock-threads #t)
(parameters
'("GdkPixbuf*" "dest")
'("gfloat" "saturation")
@@ -5339,6 +5341,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_scale")
(return-type "none")
+ (unblock-threads #t)
(parameters
'("GdkPixbuf*" "dest")
'("int" "dest_x")
@@ -5357,6 +5360,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_composite")
(return-type "none")
+ (unblock-threads #t)
(parameters
'("GdkPixbuf*" "dest")
'("int" "dest_x")
@@ -5376,6 +5380,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_composite_color")
(return-type "none")
+ (unblock-threads #t)
(parameters
'("GdkPixbuf*" "dest")
'("int" "dest_x")
@@ -5401,6 +5406,7 @@
(c-name "gdk_pixbuf_scale_simple")
(caller-owns-return #t)
(return-type "GdkPixbuf*")
+ (unblock-threads #t)
(parameters
'("int" "dest_width")
'("int" "dest_height")
@@ -5413,6 +5419,7 @@
(c-name "gdk_pixbuf_composite_color_simple")
(caller-owns-return #t)
(return-type "GdkPixbuf*")
+ (unblock-threads #t)
(parameters
'("int" "dest_width")
'("int" "dest_height")
@@ -5942,6 +5949,7 @@
(of-object "GdkPixbuf")
(c-name "gdk_pixbuf_flip")
(return-type "GdkPixbuf*")
+ (unblock-threads #t)
(parameters
'("gboolean" "horizontal")
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]