aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2011-10-26 11:03:43 +0400
committerDmitry Shachnev <mitya57@gmail.com>2011-10-26 11:03:43 +0400
commit96137411b48cef5bd2228809e50dd6bd91cd2d2e (patch)
tree4adeed65cd0e58332fe811c1b8b7ac69f6a21ce8
parent9ddd6044078e8af15fe4334063638416120ac733 (diff)
downloadayatana-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.c4
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;