summaryrefslogtreecommitdiff
path: root/src/nautilus-places-view.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-24 17:11:09 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-30 09:59:45 +0200
commit99bb990da72745c559a174f9a3e45788d38ab411 (patch)
tree11ccdc2ea1d175135abb1d5d813c31a2361668e7 /src/nautilus-places-view.c
parent91cd94a48c314cffdffec5b03e523721ba8fd4a1 (diff)
downloadnautilus-99bb990da72745c559a174f9a3e45788d38ab411.tar.gz
places-view: fix warning for wrong operator
!whatever == 0 is not !(whatever == 0) but actually the opposite. Which makes me think this code is never reached. For now just fix it.
Diffstat (limited to 'src/nautilus-places-view.c')
-rw-r--r--src/nautilus-places-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-places-view.c b/src/nautilus-places-view.c
index 1a014953b..44ea65dfb 100644
--- a/src/nautilus-places-view.c
+++ b/src/nautilus-places-view.c
@@ -204,7 +204,7 @@ nautilus_places_view_set_location (NautilusView *view,
* delegates the location to application, which takes care of
* selecting the appropriate view.
*/
- if (!g_strcmp0 (uri, "other-locations:///") == 0) {
+ if (g_strcmp0 (uri, "other-locations:///") != 0) {
nautilus_application_open_location_full (NAUTILUS_APPLICATION (g_application_get_default ()),
location, 0, NULL, NULL, NULL);
} else {