[gnome-session] gsm: Fix crash on Solaris because of bad comparison
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] gsm: Fix crash on Solaris because of bad comparison
- Date: Fri, 7 Oct 2011 09:23:17 +0000 (UTC)
commit 8ac1644772f3fb87364b3a4a36af7c594fff8a9f
Author: Brian Cameron <brian cameron oracle com>
Date: Fri Oct 7 11:23:07 2011 +0200
gsm: Fix crash on Solaris because of bad comparison
https://bugzilla.gnome.org/show_bug.cgi?id=661088
gnome-session/gsm-shell-extensions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-shell-extensions.c b/gnome-session/gsm-shell-extensions.c
index ff37241..282985a 100644
--- a/gnome-session/gsm-shell-extensions.c
+++ b/gnome-session/gsm-shell-extensions.c
@@ -256,7 +256,7 @@ gsm_shell_extensions_init (GsmShellExtensions *self)
/* Unfortunately, gsettings does not have a way to test
* for the existance of a schema, so hack around it. */
schemas = g_settings_list_schemas ();
- while (schemas != '\0')
+ while (schemas != NULL)
{
if (g_str_equal (*schemas, SHELL_SCHEMA))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]