summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexandervdm <[email protected]>2014-05-16 18:12:49 +0200
committerinfirit <[email protected]>2014-07-11 14:27:21 +0200
commit29a2daf41a15db9d9db06a4ba9c55d271cbecdcb (patch)
tree16a49b753d0b5ce8b4ab102ac59fd10b1258eb54
parentc5b6013dd50e5f7e888a28b86184db1102ca39ff (diff)
downloadcaja-29a2daf41a15db9d9db06a4ba9c55d271cbecdcb.tar.bz2
caja-29a2daf41a15db9d9db06a4ba9c55d271cbecdcb.tar.xz
propagate button-release event when ejecting, fixes #169
See also gnome bug https://bugzilla.gnome.org/show_bug.cgi?id=646302
-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 d176ad45..0e1ce9c4 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2789,7 +2789,6 @@ bookmarks_button_release_event_cb (GtkWidget *widget,
GtkTreePath *path;
GtkTreeModel *model;
GtkTreeView *tree_view;
- gboolean ret;
path = NULL;
@@ -2800,9 +2799,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);