From 96137411b48cef5bd2228809e50dd6bd91cd2d2e Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Wed, 26 Oct 2011 11:03:43 +0400 Subject: Swap return values of indicator_session_get_location --- src/indicator-session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/indicator-session.c b/src/indicator-session.c index 9510807..7c43935 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -277,10 +277,10 @@ indicator_session_get_location (IndicatorObject * io, { IndicatorSession * self = INDICATOR_SESSION (io); if (entry == &self->users){ - return 1; + return 0; } else if (entry == &self->devices){ - return 0; + return 1; } g_warning ("IOEntry handed to us to position but we don't own it!"); return 0; -- cgit v1.2.3