diff options
author | Xan Lopez <xan@igalia.com> | 2012-08-08 00:29:54 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-08-08 00:29:54 +0800 |
commit | 8d01e1f1e0ba7c73a4a8c5c15918efb1bb05c464 (patch) | |
tree | f1f4a9f4be4ca6027ed11d39c62cb36863e75927 /embed | |
parent | fcf23c9130758199c6519dbc4e59d49254f4681f (diff) | |
download | gsoc2013-epiphany-8d01e1f1e0ba7c73a4a8c5c15918efb1bb05c464.tar.gz gsoc2013-epiphany-8d01e1f1e0ba7c73a4a8c5c15918efb1bb05c464.tar.zst gsoc2013-epiphany-8d01e1f1e0ba7c73a4a8c5c15918efb1bb05c464.zip |
ephy-web-view: small style cleanups
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index d8e5c7a00..9673fff62 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2920,26 +2920,26 @@ ephy_web_view_load_request (EphyWebView *view, const char *url; char *effective_url; - g_return_if_fail (EPHY_IS_WEB_VIEW(view)); + g_return_if_fail (EPHY_IS_WEB_VIEW (view)); #ifdef HAVE_WEBKIT2 - g_return_if_fail (WEBKIT_IS_URI_REQUEST(request)); + g_return_if_fail (WEBKIT_IS_URI_REQUEST (request)); url = webkit_uri_request_get_uri (request); effective_url = ephy_web_view_normalize_or_autosearch_url (view, url); // TODO: webkit_uri_request_set_uri? - webkit_web_view_load_uri (WEBKIT_WEB_VIEW(view), effective_url); + webkit_web_view_load_uri (WEBKIT_WEB_VIEW (view), effective_url); g_free (effective_url); #else - g_return_if_fail (WEBKIT_IS_NETWORK_REQUEST(request)); + g_return_if_fail (WEBKIT_IS_NETWORK_REQUEST (request)); url = webkit_network_request_get_uri (request); effective_url = ephy_web_view_normalize_or_autosearch_url (view, url); webkit_network_request_set_uri (request, effective_url); g_free (effective_url); - main_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW(view)); - webkit_web_frame_load_request(main_frame, request); + main_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view)); + webkit_web_frame_load_request (main_frame, request); #endif } |