aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-09-23 23:15:56 -0500
committerCody Russell <crussell@canonical.com>2009-09-23 23:15:56 -0500
commitc608393d5e0650f348fc39769531cb0a1e7c95a0 (patch)
tree229e9f9edabce22347d876b4e1fda7cdfa0a1e93 /src
parent7fa88e1e36df5efdf8c7d6d7b874d4e4e92a1d28 (diff)
downloadayatana-indicator-session-c608393d5e0650f348fc39769531cb0a1e7c95a0.tar.gz
ayatana-indicator-session-c608393d5e0650f348fc39769531cb0a1e7c95a0.tar.bz2
ayatana-indicator-session-c608393d5e0650f348fc39769531cb0a1e7c95a0.zip
remove the server code
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am9
-rw-r--r--src/users-service-dbus.c69
2 files changed, 0 insertions, 78 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6404af0..239a943 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,6 @@ indicator_status_service_SOURCES = \
status-service-server.h \
users-service-dbus.h \
users-service-dbus.c \
- users-service-server.h \
users-service-marshal.c \
users-service-marshal.h \
status-provider.h \
@@ -51,13 +50,6 @@ users-service-client.h: $(srcdir)/users-service.xml
--output=users-service-client.h \
$(srcdir)/users-service.xml
-users-service-server.h: $(srcdir)/users-service.xml
- dbus-binding-tool \
- --prefix=_users_service_server \
- --mode=glib-server \
- --output=users-service-server.h \
- $(srcdir)/users-service.xml
-
status-service-client.h: $(srcdir)/status-service.xml
dbus-binding-tool \
--prefix=_status_service_client \
@@ -124,7 +116,6 @@ indicator_session_service_LDADD = $(SESSIONSERVICE_LIBS) $(GCONF_LIBS)
BUILT_SOURCES = \
users-service-client.h \
- users-service-server.h \
status-service-client.h \
status-service-server.h \
users-service-marshal.h \
diff --git a/src/users-service-dbus.c b/src/users-service-dbus.c
index 0ae0170..5a9b874 100644
--- a/src/users-service-dbus.c
+++ b/src/users-service-dbus.c
@@ -38,27 +38,6 @@ static void users_service_dbus_class_init (UsersServiceDbusClass *k
static void users_service_dbus_init (UsersServiceDbus *self);
static void users_service_dbus_dispose (GObject *object);
static void users_service_dbus_finalize (GObject *object);
-static gboolean _users_service_server_count_users (UsersServiceDbus *service,
- gint *count,
- GError **error);
-static gboolean _users_service_server_get_users_loaded (UsersServiceDbus *self,
- gboolean *is_loaded,
- GError **error);
-static gboolean _users_service_server_get_user_list (UsersServiceDbus *service,
- GArray **list,
- GError **error);
-static gboolean _users_service_server_get_user_info (UsersServiceDbus *service,
- const gint64 uid,
- gchar **username,
- gchar **real_name,
- gchar **shell,
- gint *login_count,
- gchar **icon_url,
- GError **error);
-static gboolean _users_service_server_get_users_info (UsersServiceDbus *service,
- const GArray *uids,
- GPtrArray **user_info,
- GError **error);
static void create_system_proxy (UsersServiceDbus *self);
static void create_gdm_proxy (UsersServiceDbus *self);
static void create_seat_proxy (UsersServiceDbus *self);
@@ -87,8 +66,6 @@ static gboolean do_add_session (UsersServiceDbus *servi
const gchar *ssid);
static gchar * get_seat_internal (UsersServiceDbus *self);
-#include "users-service-server.h"
-
/* Private */
typedef struct _UsersServiceDbusPrivate UsersServiceDbusPrivate;
@@ -1064,52 +1041,6 @@ user_updated (DBusGProxy *proxy,
#endif
}
-static gboolean
-_users_service_server_count_users (UsersServiceDbus *service,
- gint *uids,
- GError **error)
-{
- return TRUE;
-}
-
-static gboolean
-_users_service_server_get_user_list (UsersServiceDbus *service,
- GArray **list,
- GError **error)
-{
- return TRUE;
-}
-
-static gboolean
-_users_service_server_get_users_loaded (UsersServiceDbus *self,
- gboolean *is_loaded,
- GError **error)
-{
- return TRUE;
-}
-
-static gboolean
-_users_service_server_get_user_info (UsersServiceDbus *service,
- const gint64 uid,
- gchar **username,
- gchar **real_name,
- gchar **shell,
- gint *login_count,
- char **icon_url,
- GError **error)
-{
- return TRUE;
-}
-
-static gboolean
-_users_service_server_get_users_info (UsersServiceDbus *service,
- const GArray *uids,
- GPtrArray **user_info,
- GError **error)
-{
- return TRUE;
-}
-
gint
users_service_dbus_get_user_count (UsersServiceDbus *self)
{