Title: [170039] trunk/Tools
Revision
170039
Author
[email protected]
Date
2014-06-16 19:17:56 -0700 (Mon, 16 Jun 2014)

Log Message

Remove deprecated API warnings in WebKit/Tools/MiniBrowser/efl/main.c
https://bugs.webkit.org/show_bug.cgi?id=133792

Patch by Tanay C <[email protected]> on 2014-06-16
Reviewed by Gyuyoung Kim.

* MiniBrowser/efl/main.c: replaced the deprecated API's with the latest ones
(show_file_entry_dialog):
(window_create):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (170038 => 170039)


--- trunk/Tools/ChangeLog	2014-06-17 01:23:44 UTC (rev 170038)
+++ trunk/Tools/ChangeLog	2014-06-17 02:17:56 UTC (rev 170039)
@@ -1,3 +1,14 @@
+2014-06-16  Tanay C  <[email protected]>
+
+        Remove deprecated API warnings in WebKit/Tools/MiniBrowser/efl/main.c
+        https://bugs.webkit.org/show_bug.cgi?id=133792
+
+        Reviewed by Gyuyoung Kim.
+
+        * MiniBrowser/efl/main.c: replaced the deprecated API's with the latest ones
+        (show_file_entry_dialog):
+        (window_create):
+
 2014-06-16  Mario Sanchez Prada  <[email protected]>
 
         [ATK] Missing 'selection-changed' signal when navigating a combo box with keyboard

Modified: trunk/Tools/MiniBrowser/efl/main.c (170038 => 170039)


--- trunk/Tools/MiniBrowser/efl/main.c	2014-06-17 01:23:44 UTC (rev 170038)
+++ trunk/Tools/MiniBrowser/efl/main.c	2014-06-17 02:17:56 UTC (rev 170039)
@@ -1041,9 +1041,9 @@
     evas_object_show(label);
 
     Evas_Object *fs_entry = elm_fileselector_entry_add(file_popup);
-    elm_fileselector_entry_is_save_set(fs_entry, EINA_TRUE);
+    elm_fileselector_is_save_set(fs_entry, EINA_TRUE);
     evas_object_size_hint_align_set(fs_entry, EVAS_HINT_FILL, 0);
-    elm_fileselector_entry_path_set(fs_entry, default_text);
+    elm_fileselector_path_set(fs_entry, default_text);
     elm_object_text_set(fs_entry, "FileChooser");
     elm_box_pack_end(vbox, fs_entry);
     evas_object_show(fs_entry);
@@ -1070,7 +1070,7 @@
 
     ecore_main_loop_begin();
 
-    Eina_Stringshare *file_path = ok ? eina_stringshare_add(elm_fileselector_entry_path_get(fs_entry)) : NULL;
+    Eina_Stringshare *file_path = ok ? eina_stringshare_add(elm_fileselector_path_get(fs_entry)) : NULL;
     evas_object_del(file_popup);
     return file_path;
 }
@@ -1743,7 +1743,7 @@
     /* Create URL bar */
     window->url_bar = elm_entry_add(window->elm_window);
     elm_entry_scrollable_set(window->url_bar, EINA_TRUE);
-    elm_entry_scrollbar_policy_set(window->url_bar, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
+    elm_scroller_policy_set(window->url_bar, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
     elm_entry_single_line_set(window->url_bar, EINA_TRUE);
     elm_entry_cnp_mode_set(window->url_bar, ELM_CNP_MODE_PLAINTEXT);
     elm_entry_text_style_user_push(window->url_bar, "DEFAULT='font_size=18'");
@@ -1780,7 +1780,7 @@
     /* Create Search field */
     window->search.search_field = elm_entry_add(window->elm_window);
     elm_entry_scrollable_set(window->search.search_field, EINA_TRUE);
-    elm_entry_scrollbar_policy_set(window->search.search_field, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
+    elm_scroller_policy_set(window->search.search_field, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
     elm_entry_single_line_set(window->search.search_field, EINA_TRUE);
     elm_entry_cnp_mode_set(window->search.search_field, ELM_CNP_MODE_PLAINTEXT);
     elm_entry_text_style_user_push(window->search.search_field, "DEFAULT='font_size=14'");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to