From fbcc6d98c8006df9f6cc7429abb43534a3d3f941 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 12 Sep 2013 00:49:54 +0200 Subject: [PATCH 3/4] location-info: Don't warn for NULL description set_description with NULL is a valid way for clearing the value. https://bugs.freedesktop.org/show_bug.cgi?id=69105 --- src/gclue-location-info.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gclue-location-info.c b/src/gclue-location-info.c index e2fe4c6..53a1b0e 100644 --- a/src/gclue-location-info.c +++ b/src/gclue-location-info.c @@ -330,7 +330,6 @@ gclue_location_info_set_description (GClueLocationInfo *loc, const char *description) { g_return_if_fail (GCLUE_IS_LOCATION_INFO (loc)); - g_return_if_fail (description != NULL); g_free (loc->priv->description); loc->priv->description = g_strdup (description); -- 1.8.3.1