[UTC][capi-maps-service][Non-ACR][fix bug]
authorjomui <jongmun.woo@samsung.com>
Mon, 20 Jun 2016 02:22:55 +0000 (11:22 +0900)
committerjomui <jongmun.woo@samsung.com>
Mon, 20 Jun 2016 02:22:55 +0000 (11:22 +0900)
Change-Id: I74c1bf56f5ce2ff38be30564fe79b7b4ce89497e
Signed-off-by: jomui <jongmun.woo@samsung.com>
src/utc/capi-maps-service/utc_maps_view.c
src/utc/capi-maps-service/utc_maps_view_object.c

index 60fbae3..6298c41 100755 (executable)
@@ -47,12 +47,12 @@ static bool dummy_maps_view_object_cb(int index, int total, maps_view_object_h o
  */
 void utc_maps_view_startup(void)
 {
+       elm_init(0, NULL);
        elm_config_accel_preference_set("opengl");
 
        elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
        win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
        elm_win_autodel_set(win, TRUE);
-       elm_run();
 
        GetValueFromConfigFile("MAPS_PROVIDER_KEY", maps_provider_key, API_NAMESPACE);
        maps_service_create(__utc_get_maps_provider_name(), &__pMaps);
index 26206e4..65c04b4 100755 (executable)
@@ -46,12 +46,12 @@ static bool dummy_maps_coordinates_cb(int index, maps_coordinates_h coordinates,
  */
 void utc_maps_view_object_startup(void)
 {
+       elm_init(0, NULL);
        elm_config_accel_preference_set("opengl");
 
        elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
        win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
        elm_win_autodel_set(win, TRUE);
-       elm_run();
 
        char *res_path = app_get_resource_path();
        if (res_path) {