From: Jean-Philippe Andre Date: Tue, 28 Jun 2016 10:20:37 +0000 (+0900) Subject: evas: Use proper type for stringshares X-Git-Tag: upstream/1.20.0~5478 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2078b74e2899948b8c18cf4ab38e1636728d23b5;p=platform%2Fupstream%2Fefl.git evas: Use proper type for stringshares --- 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;