aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util-labels.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2009-08-27 03:51:08 +0800
committerKjartan Maraas <kmaraas@gnome.org>2009-08-27 04:00:07 +0800
commitab6d59a3828f1b1b170d3827482ad37d89521fdb (patch)
tree547dca12f4570b2b80fb8377b5b5a9eead133895 /e-util/e-util-labels.c
parent8dee4d2efc0be2258fc50e2d9672d07b35b8228c (diff)
downloadgsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar.gz
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar.bz2
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar.lz
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar.xz
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.tar.zst
gsoc2013-evolution-ab6d59a3828f1b1b170d3827482ad37d89521fdb.zip
Fix return types to match the type of function
Diffstat (limited to 'e-util/e-util-labels.c')
-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;
}