summaryrefslogtreecommitdiff
path: root/x11/py-gtk2/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-09-10 19:03:48 +0000
committerwiz <wiz@pkgsrc.org>2009-09-10 19:03:48 +0000
commit43802eaab86a414c6b84affbaab8ce94381f0f96 (patch)
tree90c327031c3073f2adf132288dd58160f1466411 /x11/py-gtk2/patches
parent655c36c09edd5572057423e7110243be9d420898 (diff)
downloadpkgsrc-43802eaab86a414c6b84affbaab8ce94381f0f96.tar.gz
Update to 2.16.0:
pygtk-2.16.0 23-Aug-2009 - Allow to use automake 1.11 (Paolo Borelli) - Remove compiler warnings (Gian) - Add gtk.gdk.CURRENT_TIME constant (Paul) - Fix gtk.IMContext().set_client_window() (Gian) - Some docs fix (John Finlay) - Fixed invocation of FileChooserDialog in print demo (Pietro Battiston) - Some autotools tweaks (Gian) - Fix arg parsing format typo for gtk_toggle_button_new (John Finlay) - Update some docs to the new 2.16 API (Gian) pygtk-2.15.2 20-Jun-2009 - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message (Paul) - Allow pango.Context creation (Paul, #550855) - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward compatibility accepting also chars (Paul, #586094) - Protect window obj from GC in gtk.window_get_toplevels (Gustavo, #574259) - Plug huge number of memory leaks in Pango wrappers (Paul) - Add gtk.gdk.WINDOWING constant (Paul, #555112) - Wrap gdk_pixbuf_apply_embedded_orientation (Chris Wilson) - Modernize constructors of seven more types (Paul) - Don't free a string we don't own (Paul, #585458) - Some docs tweaking (Gian) pygtk-2.15.1 25-May-2009 - (Add HSV support to gtk.gdk.Color objects) - Add floating-point support to gtk.gdk.Color (Paul) - Retire hand-written ChangeLog; autocreate from Git history (Paul) - Fix conditional in docs/Makefile.am (Frederic Peters) - Document that gtk.gdk.GC coordinates are not related to allocation (Paul) - Make pygtk_boxed_unref_shared() also handle Py_None (Paul) - Make gtk.MenuItem.set_submenu accept None (Paul) - Don't run 'fixxref.py' if documentation is not built (Bj - Apply libtool 2.2 compatibility patch (Gian) - Plug reference leak on main signal watch source (Paul) - Add extra warning against accidental misuse of tree model columns (Paul) - Wrap gtk.Border attributes and constructor (Mariano Su - Make gtk.gdk.Event.time accept 'long' in assignments (Paul) - Wrap gtk.RcStyle attributes (Paul) pygtk-2.15.0 01-May-2009 - Update pygtk to use numpy instead of Numeric (Josselin Mouette, Brian Cameron, #397544) - Update the address of the FSF (Tobias Mueller, #577154) - Wrap gtk_builder_add_objects_from_string and gtk_builder_add_objects_from_file. - Add GTK+ 2.16 API (Gian) - wrap gtk.IconView.convert_widget_to_bin_window_coords (Gian) - add gtk.gdk.Window.redirect_to_drawable (Gian) - add GtkNumberUpLayout enum (Gian) - some method argument fixes (Gian) - add gtk.PrintSettings.[get|set]_number_up_layout (Gian) - Some demo fixes (Gian, Andi Albrecht) - Add various deprecation warnings (Gian Mario)
Diffstat (limited to 'x11/py-gtk2/patches')
-rw-r--r--x11/py-gtk2/patches/patch-aa21
1 files changed, 4 insertions, 17 deletions
diff --git a/x11/py-gtk2/patches/patch-aa b/x11/py-gtk2/patches/patch-aa
index e01b6d766aa..9553c90cc16 100644
--- a/x11/py-gtk2/patches/patch-aa
+++ b/x11/py-gtk2/patches/patch-aa
@@ -1,27 +1,14 @@
-$NetBSD: patch-aa,v 1.2 2009/07/18 20:35:27 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2009/09/10 19:03:48 wiz Exp $
-Second chunk is from upstream
-http://git.gnome.org/cgit/pygtk/commit/?id=956592c614c567623510dccf5fc1edaee9c766c1
-
---- gtk/gtk.override.orig 2009-03-05 22:06:49.000000000 +0000
+--- gtk/gtk.override.orig 2009-08-12 22:55:36.000000000 +0000
+++ gtk/gtk.override
-@@ -1184,7 +1184,9 @@ _wrap_gtk_main(PyObject *self)
- main_watch = pygtk_main_watch_new();
+@@ -1238,7 +1238,9 @@ _wrap_gtk_main(PyObject *self)
pyg_begin_allow_threads;
g_source_attach(main_watch, NULL);
+ g_source_unref(main_watch);
+ gdk_threads_enter();
gtk_main();
+ gdk_threads_leave();
g_source_destroy(main_watch);
pyg_end_allow_threads;
if (PyErr_Occurred())
-@@ -7496,7 +7498,8 @@ _wrap_gtk_recent_info_get_application_in
- &time_);
- if (ret) {
- py_ret = Py_BuildValue("(sii)", app_exec, count, time_);
-- g_free(app_exec);
-+ /* Note that we mustn't free 'app_exec' even though it's not
-+ * 'const'. See bug #585458. */
- } else {
- py_ret = Py_None;
- }