diff options
Diffstat (limited to 'extra/gtk3')
-rw-r--r-- | extra/gtk3/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch | 24 |
2 files changed, 29 insertions, 5 deletions
diff --git a/extra/gtk3/PKGBUILD b/extra/gtk3/PKGBUILD index cdbe94d39..424492fe1 100644 --- a/extra/gtk3/PKGBUILD +++ b/extra/gtk3/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 143028 2011-11-21 05:59:12Z ibiru $ +# $Id: PKGBUILD 143841 2011-11-29 20:18:51Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=gtk3 pkgver=3.2.2 -pkgrel=2 +pkgrel=3 pkgdesc="GTK+ is a multi-platform toolkit (v3)" arch=('i686' 'x86_64') url="http://www.gtk.org/" @@ -15,14 +15,14 @@ backup=(etc/gtk-3.0/settings.ini) license=('LGPL') source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/3.2/gtk+-$pkgver.tar.xz settings.ini - fix_crash_treeview.patch) + filechooserdefault_do_not_unref_value_twice.patch) sha256sums=('f7ec82de393cd7ae2aa45022576400941704709d1f0f35fb0b17f3be1f2e7d84' 'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621' - 'eb187ef05f3735b24b58cd4c533dc3d4f616103cafba399c009ea3eb519be0b9') + '0d6b04d5fc12b7c08e0cff4b94d001d5c167a944b72579fb14fd6de2ee4ad9e6') build() { cd "$srcdir/gtk+-$pkgver" - patch -Np1 -R -i "$srcdir/fix_crash_treeview.patch" + patch -Np1 -i "$srcdir/filechooserdefault_do_not_unref_value_twice.patch" CXX=/bin/false ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ diff --git a/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch b/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch new file mode 100644 index 000000000..3a0f8320e --- /dev/null +++ b/extra/gtk3/filechooserdefault_do_not_unref_value_twice.patch @@ -0,0 +1,24 @@ +From aca43f43be3886f1a0befda0178ebb94ea2cf7b1 Mon Sep 17 00:00:00 2001 +From: Benjamin Otte <otte@redhat.com> +Date: Tue, 29 Nov 2011 19:39:21 +0000 +Subject: filechooserdefault: Don't unref value twice + +Double unref was introduced in eb02dacb370e8b4e6ef62328d0c09673b1234b32 + +https://bugzilla.gnome.org/show_bug.cgi?id=646461 +https://bugzilla.gnome.org/show_bug.cgi?id=664137 +--- +diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c +index e33b91e..a74aacc 100644 +--- a/gtk/gtkfilechooserdefault.c ++++ b/gtk/gtkfilechooserdefault.c +@@ -10127,7 +10127,6 @@ list_row_activated (GtkTreeView *tree_view, + if (is_folder && file) + { + change_folder_and_display_error (impl, file, FALSE); +- g_object_unref (file); + goto out; + } + +-- +cgit v0.9.0.2 |