-
carlosgc@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=120292 Reviewed by Philippe Normand. - Use an instance member of BrowserWindow for the button widget instead of a global variable. - Use notify::is-loading to monitor the WebView load instead of the estimated-load-progress property. - Use webkit_web_view_is_loading() to check whether the view is loading to change the button icon instead of a string comparison of the gtk stock icon id. - Use the right casts to fix compile warning. * MiniBrowser/gtk/BrowserWindow.c: (reloadOrStopCallback): (webViewLoadProgressChanged): (webViewIsLoadingChanged): (browser_window_init): (browserWindowConstructed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
92012cf4