summaryrefslogtreecommitdiff
path: root/src/caja-notes-viewer.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-29 17:28:30 +0300
committerraveit65 <[email protected]>2018-01-31 11:47:27 +0100
commit26a21fa2cb70a13b7e96ae43d4de825ad7663dc9 (patch)
treed61f2df112ee55e68de510d5c95b2531ba1fa922 /src/caja-notes-viewer.c
parent0045e373ee71efb8ae9979adc4ef88d5dc90b2ea (diff)
downloadcaja-26a21fa2cb70a13b7e96ae43d4de825ad7663dc9.tar.bz2
caja-26a21fa2cb70a13b7e96ae43d4de825ad7663dc9.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/caja-notes-viewer.c')
-rw-r--r--src/caja-notes-viewer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/caja-notes-viewer.c b/src/caja-notes-viewer.c
index a825c316..b479cc56 100644
--- a/src/caja-notes-viewer.c
+++ b/src/caja-notes-viewer.c
@@ -347,9 +347,8 @@ caja_notes_viewer_init (CajaNotesViewer *sidebar)
GTK_SHADOW_IN);
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (sidebar), FALSE);
-#endif
+
gtk_container_add (GTK_CONTAINER (sidebar), details->note_text_field);
g_signal_connect (details->note_text_field, "focus_out_event",