gdm r5741 - in trunk: . gui/simple-greeter
- From: bcameron svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r5741 - in trunk: . gui/simple-greeter
- Date: Sat, 9 Feb 2008 01:52:49 +0000 (GMT)
Author: bcameron
Date: Sat Feb 9 01:52:48 2008
New Revision: 5741
URL: http://svn.gnome.org/viewvc/gdm?rev=5741&view=rev
Log:
2008-02-08 Brian Cameron <brian cameron sun com>
* gui/simple-greeter/gdm-option-widget.c: Fix NULL print
issue causing crash on Solaris.
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-option-widget.c
Modified: trunk/gui/simple-greeter/gdm-option-widget.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-option-widget.c (original)
+++ trunk/gui/simple-greeter/gdm-option-widget.c Sat Feb 9 01:52:48 2008
@@ -538,7 +538,8 @@
OPTION_NAME_COLUMN, &name,
-1);
- markup = g_strdup_printf ("<span size='small'>%s</span>", name);
+ markup = g_strdup_printf ("<span size='small'>%s</span>",
+ name ? name : "(null)");
g_free (name);
g_object_set (cell, "markup", markup, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]