diff options
author | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-11-24 23:34:08 +0200 |
---|---|---|
committer | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-11-24 23:34:08 +0200 |
commit | f3691203d7405f400a2a731cb4f0ae76488c11ad (patch) | |
tree | 15bd07a4f74a60ecdfc92b9945c67f10a017d2a6 /gtk | |
parent | 192b839640b1681703333da9a76c2e0d2bade9cb (diff) | |
download | pygtk-f3691203d7405f400a2a731cb4f0ae76488c11ad.tar.gz |
Release GIL in several gdk.Pixbuf methods
Bug #591726.
Diffstat (limited to 'gtk')
-rw-r--r-- | 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 34fb4216..0951e9a0 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") ) |