summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@src.gnome.org>2007-06-11 17:22:23 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2007-06-11 17:22:23 +0000
commit7f67e9af40a1868fbb41508976bda111c8092e7e (patch)
treece54980145293bb94b22f3c64a25f6504eed27a8 /common
parentc4adefa73913fb5d448c6dd74dc58eb3a67c7376 (diff)
downloadgdm-7f67e9af40a1868fbb41508976bda111c8092e7e.tar.gz
Fix session selection. Search path for session binary. Bump glib requirement to 2.13 for new key file API. Set more session environment variables. Login now mostly works.
svn path=/branches/mccann-gobject/; revision=4980
Diffstat (limited to 'common')
-rw-r--r--common/gdm-settings-desktop-backend.c4
-rw-r--r--common/gdm-settings-direct.c2
-rw-r--r--common/gdm-settings-utils.c2
-rw-r--r--common/gdm-settings.c2
4 files changed, 3 insertions, 7 deletions
diff --git a/common/gdm-settings-desktop-backend.c b/common/gdm-settings-desktop-backend.c
index d710f481..f69c83a7 100644
--- a/common/gdm-settings-desktop-backend.c
+++ b/common/gdm-settings-desktop-backend.c
@@ -76,7 +76,7 @@ parse_key_string (const char *keystring,
g = k = v = l = NULL;
split1 = split2 = NULL;
- g_debug ("Attempting to parse key string: %s", keystring);
+ /*g_debug ("Attempting to parse key string: %s", keystring);*/
split1 = g_strsplit (keystring, "/", 2);
if (split1 == NULL || split1 [0] == NULL || split1 [1] == NULL) {
@@ -147,7 +147,7 @@ gdm_settings_desktop_backend_get_value (GdmSettingsBackend *backend,
return FALSE;
}
- g_debug ("Getting key: %s %s %s", g, k, l);
+ /*g_debug ("Getting key: %s %s %s", g, k, l);*/
local_error = NULL;
val = g_key_file_get_value (GDM_SETTINGS_DESKTOP_BACKEND (backend)->priv->key_file,
g,
diff --git a/common/gdm-settings-direct.c b/common/gdm-settings-direct.c
index 38e004b2..0b9385ab 100644
--- a/common/gdm-settings-direct.c
+++ b/common/gdm-settings-direct.c
@@ -78,10 +78,8 @@ get_value (const char *key,
res = gdm_settings_get_value (settings_object, key, &str, &error);
if (! res) {
if (error != NULL) {
- g_debug ("Failed to get value for %s: %s", key, error->message);
g_error_free (error);
} else {
- g_debug ("Failed to get value for %s", key);
}
return FALSE;
diff --git a/common/gdm-settings-utils.c b/common/gdm-settings-utils.c
index 65e979e7..82293c98 100644
--- a/common/gdm-settings-utils.c
+++ b/common/gdm-settings-utils.c
@@ -123,7 +123,7 @@ start_element_cb (GMarkupParseContext *ctx,
static void
add_schema_entry (ParserInfo *info)
{
- g_debug ("Inserting entry %s", info->entry->key);
+ /*g_debug ("Inserting entry %s", info->entry->key);*/
info->list = g_slist_prepend (info->list, info->entry);
}
diff --git a/common/gdm-settings.c b/common/gdm-settings.c
index ee8f0864..07bb3776 100644
--- a/common/gdm-settings.c
+++ b/common/gdm-settings.c
@@ -94,8 +94,6 @@ gdm_settings_get_value (GdmSettings *settings,
g_return_val_if_fail (GDM_IS_SETTINGS (settings), FALSE);
g_return_val_if_fail (key != NULL, FALSE);
- g_debug ("Getting key %s", key);
-
local_error = NULL;
res = gdm_settings_backend_get_value (settings->priv->backend,
key,