[arch-commits] Commit in gtk3/trunk (1 file)
Ionut Biru
ibiru at archlinux.org
Tue Nov 29 20:17:52 UTC 2011
Date: Tuesday, November 29, 2011 @ 15:17:52
Author: ibiru
Revision: 143840
proper fix segmentation for apps that use filechooser
Added:
gtk3/trunk/filechooserdefault_do_not_unref_value_twice.patch
---------------------------------------------------+
filechooserdefault_do_not_unref_value_twice.patch | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: filechooserdefault_do_not_unref_value_twice.patch
===================================================================
--- filechooserdefault_do_not_unref_value_twice.patch (rev 0)
+++ filechooserdefault_do_not_unref_value_twice.patch 2011-11-29 20:17:52 UTC (rev 143840)
@@ -0,0 +1,24 @@
+From aca43f43be3886f1a0befda0178ebb94ea2cf7b1 Mon Sep 17 00:00:00 2001
+From: Benjamin Otte <otte at 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
More information about the arch-commits
mailing list