summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-07 08:05:12 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-07 08:05:12 +0000
commit72cf061798709052a73be952fc967031cb608e1b (patch)
treed45f85240ef51431f0825b1e2dba0803b9620960 /gnome-base/nautilus/files
parentNon-maintainer Version Bump (diff)
downloadgentoo-2-72cf061798709052a73be952fc967031cb608e1b.tar.gz
gentoo-2-72cf061798709052a73be952fc967031cb608e1b.tar.bz2
gentoo-2-72cf061798709052a73be952fc967031cb608e1b.zip
Version bump for gnome-3.4; adds undo support for common operations.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/nautilus/files')
-rw-r--r--gnome-base/nautilus/files/nautilus-3.4.1-gmount-double-unref.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-base/nautilus/files/nautilus-3.4.1-gmount-double-unref.patch b/gnome-base/nautilus/files/nautilus-3.4.1-gmount-double-unref.patch
new file mode 100644
index 000000000000..6f3268ab178c
--- /dev/null
+++ b/gnome-base/nautilus/files/nautilus-3.4.1-gmount-double-unref.patch
@@ -0,0 +1,36 @@
+From 4e59e4cfc7bc68534664d9f72d0c7ea680b79db3 Mon Sep 17 00:00:00 2001
+From: Cosimo Cecchi <cosimoc@gnome.org>
+Date: Fri, 4 May 2012 14:38:43 -0400
+Subject: [PATCH] places-sidebar: don't double unref GMount objects
+
+Fixes a lot of reported crashers with NFS/Samba volumes.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=674659
+---
+ src/nautilus-places-sidebar.c | 3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
+index 61f3658..672a4b0 100644
+--- a/src/nautilus-places-sidebar.c
++++ b/src/nautilus-places-sidebar.c
+@@ -774,7 +774,7 @@ update_places (NautilusPlacesSidebar *sidebar)
+ root = g_mount_get_default_location (mount);
+
+ if (!g_file_is_native (root)) {
+- network_mounts = g_list_prepend (network_mounts, g_object_ref (mount));
++ network_mounts = g_list_prepend (network_mounts, mount);
+ continue;
+ }
+
+@@ -856,7 +856,6 @@ update_places (NautilusPlacesSidebar *sidebar)
+ name, icon, mount_uri,
+ NULL, NULL, mount, 0, tooltip);
+ g_object_unref (root);
+- g_object_unref (mount);
+ g_object_unref (icon);
+ g_free (name);
+ g_free (mount_uri);
+--
+1.7.8.6
+