[gdm/multi-stack: 9/17] add debug spew
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm/multi-stack: 9/17] add debug spew
- Date: Tue, 3 Mar 2009 13:31:30 -0500 (EST)
commit 3799b6ccb5d5cb4fd94918c647b8262fac7e0dee
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 2 11:09:27 2009 -0500
add debug spew
---
gui/simple-greeter/gdm-user-chooser-widget.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gui/simple-greeter/gdm-user-chooser-widget.c b/gui/simple-greeter/gdm-user-chooser-widget.c
index f8d5109..bc83f39 100644
--- a/gui/simple-greeter/gdm-user-chooser-widget.c
+++ b/gui/simple-greeter/gdm-user-chooser-widget.c
@@ -237,9 +237,10 @@ gdm_user_chooser_widget_get_chosen_user_name (GdmUserChooserWidget *widget)
gboolean isnt_user;
g_return_val_if_fail (GDM_IS_USER_CHOOSER_WIDGET (widget), NULL);
- active_item_id = gdm_chooser_widget_get_active_item (GDM_CHOOSER_WIDGET (widget));
+ active_item_id = gdm_chooser_widget_get_active_item (GDM_CHOOSER_WIDGET (widget));
if (active_item_id == NULL) {
+ g_debug ("GdmUserChooserWidget: no active item in list");
return NULL;
}
@@ -248,10 +249,13 @@ gdm_user_chooser_widget_get_chosen_user_name (GdmUserChooserWidget *widget)
&isnt_user);
if (isnt_user) {
+ g_debug ("GdmUserChooserWidget: active item '%s' isn't a user", active_item_id);
g_free (active_item_id);
return NULL;
}
+ g_debug ("GdmUserChooserWidget: active item '%s' is a user", active_item_id);
+
return active_item_id;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]