Remove unused code 91/61691/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 10 Mar 2016 01:39:10 +0000 (10:39 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 10 Mar 2016 01:39:10 +0000 (10:39 +0900)
Change-Id: I9ae56b2f1288d0ec5ea27bdf1e7dc2734fc59ef7

src/sclcoreui-efl.cpp

index 39a50c3..c2ea36b 100644 (file)
@@ -50,7 +50,6 @@ struct WaylandKeyboard wlkb = {0};
 
 using namespace scl;
 
-
 CSCLCoreUIEFL::CSCLCoreUIEFL()
 {
     m_initialized = FALSE;
@@ -111,36 +110,6 @@ void CSCLCoreUIEFL::set_keyboard_size_hints(SclSize portrait, SclSize landscape)
 #endif
 }
 
-const char * extract_themename_from_theme_file_path(const char *filepath) {
-    static char themename[_POSIX_PATH_MAX] = {0};
-    memset(themename, 0x00, sizeof(themename));
-
-    if (filepath) {
-        /* There could be more than 1 theme filepath, separated by : */
-        char pathstr[_POSIX_PATH_MAX] = {0};
-        strncpy(pathstr, filepath, _POSIX_PATH_MAX - 1);
-        for (int loop = 0;loop < _POSIX_PATH_MAX;loop++) {
-            if (pathstr[loop] == ':') {
-                /* FIXME : Let's consider the 1st theme filepath only for now */
-                pathstr[loop] = '\0';
-            }
-        }
-
-        if (pathstr[0]) {
-            const char *filename = ecore_file_file_get(pathstr);
-            if (filename) {
-                char *stripname = ecore_file_strip_ext(filename);
-                if (stripname) {
-                    strncpy(themename, stripname, _POSIX_PATH_MAX - 1);
-                    free(stripname);
-                }
-            }
-        }
-    }
-
-    return themename;
-}
-
 static void language_changed_cb(keynode_t *key, void* data)
 {
     char clang[_POSIX_PATH_MAX] = {0};