diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2011-10-26 11:03:43 +0400 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2011-10-26 11:03:43 +0400 |
commit | 96137411b48cef5bd2228809e50dd6bd91cd2d2e (patch) | |
tree | 4adeed65cd0e58332fe811c1b8b7ac69f6a21ce8 | |
parent | 9ddd6044078e8af15fe4334063638416120ac733 (diff) | |
download | ayatana-indicator-session-96137411b48cef5bd2228809e50dd6bd91cd2d2e.tar.gz ayatana-indicator-session-96137411b48cef5bd2228809e50dd6bd91cd2d2e.tar.bz2 ayatana-indicator-session-96137411b48cef5bd2228809e50dd6bd91cd2d2e.zip |
Swap return values of indicator_session_get_location
-rw-r--r-- | src/indicator-session.c | 4 |
1 files 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; |