[gnome-calendar] utils: clean description of whitespaces
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] utils: clean description of whitespaces
- Date: Fri, 6 Mar 2015 15:37:38 +0000 (UTC)
commit 8589cde0f56195789e150e3d4506b201021d5ca6
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Thu Mar 5 13:08:39 2015 -0500
utils: clean description of whitespaces
src/gcal-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-utils.c b/src/gcal-utils.c
index 8a63542..cf5dc91 100644
--- a/src/gcal-utils.c
+++ b/src/gcal-utils.c
@@ -237,7 +237,7 @@ get_desc_from_component (ECalComponent *component,
}
e_cal_component_free_text_list (text_list);
- return desc;
+ return desc != NULL ? g_strstrip (desc) : NULL;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]