pygtk r2959 - in trunk: . gtk
- From: paulp svn gnome org
- To: svn-commits-list gnome org
- Subject: pygtk r2959 - in trunk: . gtk
- Date: Fri, 1 Feb 2008 20:40:15 +0000 (GMT)
Author: paulp
Date: Fri Feb 1 20:40:14 2008
New Revision: 2959
URL: http://svn.gnome.org/viewvc/pygtk?rev=2959&view=rev
Log:
2008-02-01 Paul Pogonyshev <pogonyshev gmx net>
* gtk/gdkpixbuf.override (_wrap_gdk_pixbuf_save): Detach from
Python interpreter while saving, which can take a long time.
Modified:
trunk/ChangeLog
trunk/gtk/gdkpixbuf.override
Modified: trunk/gtk/gdkpixbuf.override
==============================================================================
--- trunk/gtk/gdkpixbuf.override (original)
+++ trunk/gtk/gdkpixbuf.override Fri Feb 1 20:40:14 2008
@@ -191,9 +191,12 @@
option_keys[len] = NULL;
option_values[len] = NULL;
}
+
+ pyg_begin_allow_threads;
gdk_pixbuf_savev(GDK_PIXBUF(self->obj), filename, type,
option_keys, option_values, &error);
-
+ pyg_end_allow_threads;
+
g_free(option_keys);
g_free(option_values);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]