REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
authorgyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Nov 2015 00:20:42 +0000 (00:20 +0000)
committergyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Nov 2015 00:20:42 +0000 (00:20 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151567

Reviewed by Darin Adler.

* MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
(on_window_deletion):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/MiniBrowser/efl/main.c

index 578abb9..f435a2b 100644 (file)
@@ -1,3 +1,13 @@
+2015-11-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
+
+        REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
+        https://bugs.webkit.org/show_bug.cgi?id=151567
+
+        Reviewed by Darin Adler.
+
+        * MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
+        (on_window_deletion):
+
 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Use the network process unconditionally
index 16031d4..7fa45e2 100644 (file)
@@ -2037,8 +2037,7 @@ on_home_button_clicked(void *user_data, Evas_Object *home_button, void *event_in
 static void
 on_window_deletion(void *user_data, Evas_Object *elm_window, void *event_info)
 {
-    Browser_Window *window = (Browser_Window *)user_data;
-    ewk_view_try_close(window->ewk_view);
+    window_close(window_find_with_elm_window(elm_window));
 }
 
 static Evas_Object *