From 2078b74e2899948b8c18cf4ab38e1636728d23b5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 28 Jun 2016 19:20:37 +0900 Subject: [PATCH] evas: Use proper type for stringshares --- src/lib/evas/include/evas_private.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h index 394fa58..684edfc 100644 --- a/src/lib/evas/include/evas_private.h +++ b/src/lib/evas/include/evas_private.h @@ -1207,11 +1207,10 @@ struct _Evas_Font_Alias struct _Evas_Font_Description { int ref; - /* We assume everywhere this is stringshared */ - const char *name; - const char *fallbacks; - const char *lang; - const char *style; + Eina_Stringshare *name; + Eina_Stringshare *fallbacks; + Eina_Stringshare *lang; + Eina_Stringshare *style; Evas_Font_Slant slant; Evas_Font_Weight weight; -- 2.7.4