diff options
author | monsta <[email protected]> | 2016-11-23 17:21:45 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-23 17:33:50 +0300 |
commit | 172d3b6800c518b14e5cc71d9f8c4c035f33dc47 (patch) | |
tree | 6c639ab67f95a3ff1f72111ce8b4d0454d6eb794 /libview/ev-web-view.c | |
parent | 328b28369741467777c2c6daee2fa8fc828466b9 (diff) | |
download | atril-172d3b6800c518b14e5cc71d9f8c4c035f33dc47.tar.bz2 atril-172d3b6800c518b14e5cc71d9f8c4c035f33dc47.tar.xz |
fix indent a bit
Diffstat (limited to 'libview/ev-web-view.c')
-rw-r--r-- | libview/ev-web-view.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c index 40e525ea..c995c4f4 100644 --- a/libview/ev-web-view.c +++ b/libview/ev-web-view.c @@ -219,14 +219,14 @@ ev_web_view_new (void) webview = g_object_new (EV_TYPE_WEB_VIEW, NULL); - #if GTK_CHECK_VERSION (3, 0, 0) - EV_WEB_VIEW(webview)->findcontroller = webkit_web_view_get_find_controller (WEBKIT_WEB_VIEW(webview)); - EV_WEB_VIEW(webview)->findoptions = webkit_find_controller_get_options (EV_WEB_VIEW(webview)->findcontroller); +#if GTK_CHECK_VERSION (3, 0, 0) + EV_WEB_VIEW(webview)->findcontroller = webkit_web_view_get_find_controller (WEBKIT_WEB_VIEW(webview)); + EV_WEB_VIEW(webview)->findoptions = webkit_find_controller_get_options (EV_WEB_VIEW(webview)->findcontroller); - EV_WEB_VIEW(webview)->zoom_level = 1.0; + EV_WEB_VIEW(webview)->zoom_level = 1.0; - EV_WEB_VIEW(webview)->findoptions |= WEBKIT_FIND_OPTIONS_NONE; - #endif + EV_WEB_VIEW(webview)->findoptions |= WEBKIT_FIND_OPTIONS_NONE; +#endif return webview; } @@ -501,7 +501,7 @@ jump_to_find_results(EvWebView *webview, gpointer data) #endif { - #if !GTK_CHECK_VERSION (3, 0, 0) +#if !GTK_CHECK_VERSION (3, 0, 0) gint n_results; gboolean forward ; gboolean wrap ; @@ -743,12 +743,12 @@ ev_web_view_set_handler(EvWebView *webview,gboolean visible) #if GTK_CHECK_VERSION (3, 0, 0) "load-changed", #else - "notify::load-status", + "notify::load-status", #endif - G_CALLBACK(jump_to_find_results), - NULL); + G_CALLBACK(jump_to_find_results), + NULL); #if GTK_CHECK_VERSION (3, 0, 0) - g_signal_connect(webview->findcontroller, + g_signal_connect(webview->findcontroller, "counted-matches", G_CALLBACK(results_counted_cb), webview); |