upload tizen1.0 source
[apps/home/starter.git] / boot-mgr / starter.c
index 4e07eed..b10a121 100755 (executable)
 #include "lock-daemon.h"
 #include "lockd-debug.h"
 
-#ifndef PACKAGE_NAME
-#define PACKAGE_NAME "org.tizen.starter"
-#endif
-
 #define PWLOCK_PKG "org.tizen.pwlock"
 #define VCONFKEY_START "memory/startapps/sequence"
 #define PWLOCK_FIRST_BOOT "db/setting/pwlock_boot"
@@ -70,14 +66,16 @@ static void _set_elm_theme(void)
 {
        char *vstr;
        char *theme;
+       Elm_Theme *th = NULL;
        vstr = vconf_get_str(VCONFKEY_SETAPPL_WIDGET_THEME_STR);
        if (vstr == NULL)
                theme = DEFAULT_THEME;
        else
                theme = vstr;
 
+       th = elm_theme_new();
        _DBG("theme vconf[%s]\n set[%s]\n", vstr, theme);
-       elm_theme_all_set(theme);
+       elm_theme_set(th, theme);
 
        if (vstr)
                free(vstr);
@@ -240,8 +238,6 @@ int main(int argc, char *argv[])
 {
        struct appdata ad;
 
-       set_window_scale();
-
        elm_init(argc, argv);
 
        _init(&ad);