Remove unused code 82/163982/1 master
authorJeong Seong-moon <salt.jeong@samsung.com>
Thu, 14 Dec 2017 10:56:57 +0000 (19:56 +0900)
committerJeong Seong-moon <salt.jeong@samsung.com>
Thu, 14 Dec 2017 10:57:21 +0000 (19:57 +0900)
Change-Id: I3d06fc452a12a0c17599d7b308d12b99ffa04389

rule/service/project/src/main.c
rule/service/project/src/main.c.tccr

index e72db57..a712396 100755 (executable)
@@ -51,22 +51,6 @@ static void srv_terminate(void *user_data)
 }
 
 /**
- * @brief This function will be called when the language is changed.
- */
-static void service_lang_changed(app_event_info_h event_info, void *user_data)
-{
-       char *locale = NULL;
-
-       system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &locale);
-
-       if (locale != NULL) {
-               elm_language_set(locale);
-               free(locale);
-       }
-       return;
-}
-
-/**
  * @brief Main function of the service.
  */
 int main(int argc, char *argv[])
index 167b7b3..eda19e5 100755 (executable)
 |R| }
 
 /**
- * @brief This function will be called when the language is changed.
- */
-static void srv_lang_changed(app_event_info_h event_info, void *user_data)
-{
-       char *locale = NULL;
-
-       system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &locale);
-
-       if (locale != NULL) {
-               elm_language_set(locale);
-               free(locale);
-       }
-       return;
-}
-
-/**
  * @brief Main function of the service.
  */
 |R| int main(int argc, char *argv[])