[nautilus] canvas-container: don't mix selected files with selected icons
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] canvas-container: don't mix selected files with selected icons
- Date: Sat, 13 Sep 2014 03:25:24 +0000 (UTC)
commit 6ca93fb2490ba9d5956c07f90af86aa05c81e327
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Sep 12 20:20:21 2014 -0700
canvas-container: don't mix selected files with selected icons
The refactoring in commit ecc8fdbca6acb446ffa89a6fea31616b77a4224a made
this use a function to fetch selected files instead of selected icons,
which will cause a crash when iterating through the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=736599
libnautilus-private/nautilus-canvas-container.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-container.c b/libnautilus-private/nautilus-canvas-container.c
index 11b50e8..03c8e7d 100644
--- a/libnautilus-private/nautilus-canvas-container.c
+++ b/libnautilus-private/nautilus-canvas-container.c
@@ -7660,7 +7660,7 @@ nautilus_canvas_container_accessible_update_selection (AtkObject *accessible)
priv->selection = NULL;
}
- priv->selection = nautilus_canvas_container_get_selection (container);
+ priv->selection = nautilus_canvas_container_get_selected_icons (container);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]