remove redundant tzplatfrom dependecy 02/188502/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 5 Sep 2018 08:57:46 +0000 (10:57 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 5 Sep 2018 08:57:46 +0000 (10:57 +0200)
Remove call to tzmkpath function as its usage seems wrong.
The fonst are placed in /etc/fonts/conf.avail/ not in /usr/apps/etc/fonst/conf.avail/.

Change-Id: I9f854545cebf59d973e709ef89c83633317aafad

setting-common/src/setting-common-data-slp-setting.c
setting-common/src/setting-common-general-func.c

index aa38ad1efee4a989b0b1e60e147f8f38da41289f..14ba1d3212e94f3755209b612b1738b366daf622 100755 (executable)
@@ -23,7 +23,6 @@
 #include "setting-common-data-slp-setting.h"
 #include <Elementary.h>
 #include <openssl/sha.h>
-#include <tzplatform_config.h>
 #include <libxml/tree.h>
 #include <json-glib/json-glib.h>
 
index 4c94575f4d2c268f1f665871ec94de5aa94a58fc..7a4864c7b9df9f50fa66575cc2a295a643078c47 100755 (executable)
@@ -27,7 +27,6 @@
 #include <system_settings.h>
 #include "setting-cfg.h"
 #include <pkgmgr-info.h>
-#include <tzplatform_config.h>
 
 EXPORT_PUBLIC
 char *get_application_default_icon(const char *appid)
@@ -727,7 +726,7 @@ EXPORT_PUBLIC char *_get_default_font()
        struct _xmlAttr *properties = NULL;
        char *default_font_name = NULL;
 
-       const char *path = tzplatform_mkpath(TZ_SYS_RO_APP, SETTING_DEFAULT_FONT_CONF_FILE); //TODO Check
+       const char *path = SETTING_DEFAULT_FONT_CONF_FILE; //TODO Check
        doc = xmlParseFile(path);
 
        cur = xmlDocGetRootElement(doc);