summaryrefslogtreecommitdiff
path: root/daemon/simple-slave-main.c
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-02-13 16:18:20 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2014-02-13 17:01:23 -0500
commitdcec22b0ad9f1c50d10d4bbbfa69bbfad6232357 (patch)
tree31b4e9b056f128a2922757f3bf63b1706495748f /daemon/simple-slave-main.c
parentd94f5a79acf308e2d1adb25790e8379f8a839ba3 (diff)
downloadgdm-dcec22b0ad9f1c50d10d4bbbfa69bbfad6232357.tar.gz
common: Remove settings client / server
This is used in *one* place in the simple slave. Just port it over to use gdm_settings_direct instead of keeping an entire DBus API around for just one call...
Diffstat (limited to 'daemon/simple-slave-main.c')
-rw-r--r--daemon/simple-slave-main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/daemon/simple-slave-main.c b/daemon/simple-slave-main.c
index 5c6bfa20..a94a5ad0 100644
--- a/daemon/simple-slave-main.c
+++ b/daemon/simple-slave-main.c
@@ -43,7 +43,6 @@
#include "gdm-settings.h"
#include "gdm-settings-direct.h"
#include "gdm-settings-keys.h"
-#include "gdm-settings-client.h"
static GdmSettings *settings = NULL;
static int gdm_return_code = 0;
@@ -159,11 +158,6 @@ main (int argc,
exit (1);
}
- if (! gdm_settings_client_init (DATADIR "/gdm/gdm.schemas", "/")) {
- g_critical ("Unable to initialize settings client");
- exit (1);
- }
-
main_loop = g_main_loop_new (NULL, FALSE);
g_unix_signal_add (SIGTERM, on_shutdown_signal_cb, main_loop);