[gnome-builder/wip/greeter] doap: delimit newlines from shortdesc



commit 61cc113eb5d97b1c3af92f37461b5677d4a19fae
Author: Christian Hergert <christian hergert me>
Date:   Sun May 10 11:46:05 2015 -0700

    doap: delimit newlines from shortdesc

 libide/doap/ide-doap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/doap/ide-doap.c b/libide/doap/ide-doap.c
index 8585f5d..ff9c860 100644
--- a/libide/doap/ide-doap.c
+++ b/libide/doap/ide-doap.c
@@ -234,7 +234,7 @@ ide_doap_set_shortdesc (IdeDoap     *self,
   if (!ide_str_equal0 (self->shortdesc, shortdesc))
     {
       g_free (self->shortdesc);
-      self->shortdesc = g_strdup (shortdesc);
+      self->shortdesc = g_strdelimit (g_strdup (shortdesc), "\n", ' ');
       g_object_notify_by_pspec (G_OBJECT (self), gParamSpecs [PROP_SHORTDESC]);
     }
 }


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