[gnome-applets] minicommander: FIx to mc-install-default-macros



commit cb93221752fa919c9c6d25dabb3d8ca05a5b1e91
Author: Callum McKenzie <callum spooky-possum org>
Date:   Wed Aug 12 20:37:03 2009 +1200

    minicommander: FIx to mc-install-default-macros
    
    Gets around some gconf weirdness and makes make dist-check succeed
    (whether this is for the right reasons remains to be seen).

 mini-commander/src/mc-install-default-macros.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mini-commander/src/mc-install-default-macros.c b/mini-commander/src/mc-install-default-macros.c
index a3f274f..d356558 100644
--- a/mini-commander/src/mc-install-default-macros.c
+++ b/mini-commander/src/mc-install-default-macros.c
@@ -82,6 +82,9 @@ install_default_macros_list (GConfClient *client,
 		return;
 	}
 
+	/* gconf has started to return NULL with no error set. */
+	g_return_if_fail (schema != NULL);
+
 	/* Some sanity checks */
 	g_assert (gconf_schema_get_type (schema) == GCONF_VALUE_LIST);
 	g_assert (gconf_schema_get_list_type (schema) == GCONF_VALUE_STRING);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]