summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralexandervdm <[email protected]>2014-05-16 18:12:49 +0200
committerinfirit <[email protected]>2014-05-17 07:13:15 +0200
commit6bd93009eeb559c71d87dfce84a636941ad2152b (patch)
tree6b4153121e434b13b8b3a4d1f4a3d164deb980c0 /src
parent4796e9bf097fd481798d58092fe95951e99e79dd (diff)
downloadcaja-6bd93009eeb559c71d87dfce84a636941ad2152b.tar.bz2
caja-6bd93009eeb559c71d87dfce84a636941ad2152b.tar.xz
propagate button-release event when ejecting, fixes #169
See also gnome bug https://bugzilla.gnome.org/show_bug.cgi?id=646302
Diffstat (limited to 'src')
-rw-r--r--src/caja-places-sidebar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 9ff2d0aa..c2fc9cd8 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2690,7 +2690,6 @@ bookmarks_button_release_event_cb (GtkWidget *widget,
GtkTreePath *path;
GtkTreeModel *model;
GtkTreeView *tree_view;
- gboolean ret;
path = NULL;
@@ -2701,9 +2700,9 @@ bookmarks_button_release_event_cb (GtkWidget *widget,
if (clicked_eject_button (sidebar, &path))
{
- ret = eject_or_unmount_bookmark (sidebar, path);
+ eject_or_unmount_bookmark (sidebar, path);
gtk_tree_path_free (path);
- return ret;
+ return FALSE;
}
tree_view = GTK_TREE_VIEW (widget);