Modified elm_win_profile API due to build error 50/34450/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Tue, 27 Jan 2015 11:10:08 +0000 (20:10 +0900)
committerWonkeun Oh <wonkeun.oh@samsung.com>
Tue, 27 Jan 2015 11:11:11 +0000 (20:11 +0900)
Change-Id: Ia377ffbf8152c7ccfdb2abd709ae98bb302d004d

src/option.cpp

index 0fbe9b9..81e0fc1 100644 (file)
@@ -117,8 +117,7 @@ create_main_window(int degree)
     Evas_Object *window = elm_win_add(NULL, "Option window", ELM_WIN_BASIC);
     elm_win_title_set(window, "Option window");
 
-    const char *szProfile[] = {"mobile", ""};
-    elm_win_profiles_set(window, szProfile, 1);
+    elm_win_profile_set(window, "mobile");
 
     elm_win_borderless_set(window, EINA_TRUE);