summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-23 17:21:45 +0300
committermonsta <[email protected]>2016-11-23 17:33:50 +0300
commit172d3b6800c518b14e5cc71d9f8c4c035f33dc47 (patch)
tree6c639ab67f95a3ff1f72111ce8b4d0454d6eb794 /libview
parent328b28369741467777c2c6daee2fa8fc828466b9 (diff)
downloadatril-172d3b6800c518b14e5cc71d9f8c4c035f33dc47.tar.bz2
atril-172d3b6800c518b14e5cc71d9f8c4c035f33dc47.tar.xz
fix indent a bit
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
-rw-r--r--libview/ev-web-view.c22
2 files changed, 12 insertions, 12 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 42c51184..4b503d4a 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5110,7 +5110,7 @@ ev_view_class_init (EvViewClass *class)
object_class->dispose = ev_view_dispose;
-#if GTK_CHECK_VERSION(3, 20, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
gtk_widget_class_set_css_name (widget_class, "evview");
#endif
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);