aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util-labels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-util-labels.c b/e-util/e-util-labels.c
index c4b4edde3f..eeab09fe59 100644
--- a/e-util/e-util-labels.c
+++ b/e-util/e-util-labels.c
@@ -539,18 +539,18 @@ e_util_labels_get_color (GSList *labels, const gchar *tag, GdkColor *color)
* @param labels Cache of labels from call of @ref e_util_labels_parse.
* The returned pointer will be taken from this list, so it's alive as long as the list.
* @param tag Tag of the label of our interest.
- * @return String representation of that label, or NULL, is no such label exists.
+ * @return String representation of that label, or NULL, if no such label exists.
**/
const gchar *
e_util_labels_get_color_str (GSList *labels, const gchar *tag)
{
EUtilLabel *label;
- g_return_val_if_fail (tag != NULL, FALSE);
+ g_return_val_if_fail (tag != NULL, NULL);
label = find_label (labels, tag);
if (!label)
- return FALSE;
+ return NULL;
return label->colour;
}