aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-07 16:26:55 -0600
committerTed Gould <ted@gould.cx>2012-02-07 16:26:55 -0600
commit4f3cb40de26e5e60ab4b9426fe64b6a098a8f470 (patch)
treef273bed9c94b06e9f39b601f78d9e57bce26184a /src
parent659e20302aeb278f563a73f1613b705221ddaa0a (diff)
parent96137411b48cef5bd2228809e50dd6bd91cd2d2e (diff)
downloadayatana-indicator-session-4f3cb40de26e5e60ab4b9426fe64b6a098a8f470.tar.gz
ayatana-indicator-session-4f3cb40de26e5e60ab4b9426fe64b6a098a8f470.tar.bz2
ayatana-indicator-session-4f3cb40de26e5e60ab4b9426fe64b6a098a8f470.zip
Fix ordering of items on request
Diffstat (limited to 'src')
-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 bd7bcd3..e748825 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -276,10 +276,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;