aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.h
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-09-24 01:21:50 -0500
committerCody Russell <crussell@canonical.com>2009-09-24 01:21:50 -0500
commit7f7ed7fe0e23a4d4f044fda7cc201f4e474a6e17 (patch)
treeb1de20976e08e894b8d69a0012d06cebe66d73b5 /src/users-service-dbus.h
parent3427b4a7054aa66f1aaa20aed56ad445aecd5ec4 (diff)
downloadayatana-indicator-session-7f7ed7fe0e23a4d4f044fda7cc201f4e474a6e17.tar.gz
ayatana-indicator-session-7f7ed7fe0e23a4d4f044fda7cc201f4e474a6e17.tar.bz2
ayatana-indicator-session-7f7ed7fe0e23a4d4f044fda7cc201f4e474a6e17.zip
don't load all the users unless needed
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r--src/users-service-dbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h
index e156520..201445e 100644
--- a/src/users-service-dbus.h
+++ b/src/users-service-dbus.h
@@ -50,6 +50,9 @@ struct _UserData
UsersServiceDbus *service;
};
+#define MINIMUM_USERS 1
+#define MAXIMUM_USERS 7
+
struct _UsersServiceDbus {
GObject parent;
};