diff options
author | monsta <[email protected]> | 2018-01-29 17:28:30 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-31 11:47:27 +0100 |
commit | 26a21fa2cb70a13b7e96ae43d4de825ad7663dc9 (patch) | |
tree | d61f2df112ee55e68de510d5c95b2531ba1fa922 /src/file-manager/fm-icon-view.c | |
parent | 0045e373ee71efb8ae9979adc4ef88d5dc90b2ea (diff) | |
download | caja-26a21fa2cb70a13b7e96ae43d4de825ad7663dc9.tar.bz2 caja-26a21fa2cb70a13b7e96ae43d4de825ad7663dc9.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-rw-r--r-- | src/file-manager/fm-icon-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index 4b416187..aadb3463 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -3318,9 +3318,9 @@ fm_icon_view_create (CajaWindowSlotInfo *slot) "window-slot", slot, "compact", FALSE, NULL); -#if GTK_CHECK_VERSION (3, 20, 0) + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (view)), GTK_STYLE_CLASS_VIEW); -#endif + return CAJA_VIEW (view); } @@ -3333,9 +3333,9 @@ fm_compact_view_create (CajaWindowSlotInfo *slot) "window-slot", slot, "compact", TRUE, NULL); -#if GTK_CHECK_VERSION (3, 20, 0) + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (view)), GTK_STYLE_CLASS_VIEW); -#endif + return CAJA_VIEW (view); } |