summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-07 10:51:36 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-09 16:18:30 +0200
commit86191b02c78348608652fcbd3c834060815107a3 (patch)
tree0fdc21b28988c6e4db0011c5053b173a75fb7967 /src/lib/eolian
parentcbe3c944df8f51df45734900a15e86cd45f50178 (diff)
eolian: Leave default text for libeolian users
Summary: Instead of setting the default text at the library level, keep the summary empty if nothing is provided. The libeolian users them are free to check if the summary was actually empty or a placeholder text was added. ref T8309 Test Plan: Run attached tests Reviewers: q66, segfaultxavi Subscribers: cedric, brunobelo, #reviewers, felipealmeida, #committers Tags: #efl Maniphest Tasks: T8309 Differential Revision: https://phab.enlightenment.org/D10285
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/eo_lexer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index ed165ee793..365ff34303 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -522,8 +522,6 @@ read_doc(Eo_Lexer *ls, Eo_Token *tok, int line, int column)
522 522
523 if (eina_strbuf_length_get(rbuf)) 523 if (eina_strbuf_length_get(rbuf))
524 doc->description = eina_stringshare_add(eina_strbuf_string_get(rbuf)); 524 doc->description = eina_stringshare_add(eina_strbuf_string_get(rbuf));
525 if (!doc->summary)
526 doc->summary = eina_stringshare_add("No description supplied.");
527 if (!doc->since && ls->klass && ls->klass->doc) 525 if (!doc->since && ls->klass && ls->klass->doc)
528 doc->since = eina_stringshare_ref(ls->klass->doc->since); 526 doc->since = eina_stringshare_ref(ls->klass->doc->since);
529 eina_strbuf_free(rbuf); 527 eina_strbuf_free(rbuf);