summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2008-09-05 16:14:44 +0000
committerBrian Cameron <bcameron@src.gnome.org>2008-09-05 16:14:44 +0000
commit415aa09f4c90a5f85e7013858bfc6eb969637d67 (patch)
tree22f2fde037f2aff7e4562ff4a565bec3dc5ce9ea /gui
parent0e62b8475ac74e778094e51717b7b083746fe46d (diff)
downloadgdm-415aa09f4c90a5f85e7013858bfc6eb969637d67.tar.gz
Fix NULL argument in printf, which causes crashing on Solaris.
2008-09-05 Brian Cameron <brian.cameron@sun.com> * gui/simple-greeter/gdm-chooser-widget.c: Fix NULL argument in printf, which causes crashing on Solaris. svn path=/trunk/; revision=6473
Diffstat (limited to 'gui')
-rw-r--r--gui/simple-greeter/gdm-chooser-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/simple-greeter/gdm-chooser-widget.c b/gui/simple-greeter/gdm-chooser-widget.c
index abf211c0..0ff7ad2f 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -1013,7 +1013,8 @@ gdm_chooser_widget_set_active_item (GdmChooserWidget *widget,
{
g_return_if_fail (GDM_IS_CHOOSER_WIDGET (widget));
- g_debug ("GdmChooserWidget: setting active item '%s'", id);
+ g_debug ("GdmChooserWidget: setting active item '%s'",
+ id ? id : "(null)");
if (id != NULL) {
activate_from_item_id (widget, id);