summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-list-view.c
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-02-25 20:10:44 +0300
committerraveit65 <[email protected]>2017-03-13 10:28:08 +0100
commit438682bef1a8fea49b4c6972350bede1bfad69d0 (patch)
treef99a0439cb45b349a162e2d05c3ac232c46bf859 /src/file-manager/fm-list-view.c
parente7834d32c9b1aae49d9f791a5eba70dc33d0849d (diff)
downloadcaja-438682bef1a8fea49b4c6972350bede1bfad69d0.tar.bz2
caja-438682bef1a8fea49b4c6972350bede1bfad69d0.tar.xz
Revert "GTK3.21:fix desktop redraw"
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rw-r--r--src/file-manager/fm-list-view.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 251f4a93..7ff712eb 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -47,9 +47,7 @@
#include <libcaja-private/caja-column-chooser.h>
#include <libcaja-private/caja-column-utilities.h>
#include <libcaja-private/caja-debug-log.h>
-#if !GTK_CHECK_VERSION (3, 22, 0)
#include <libcaja-private/caja-directory-background.h>
-#endif
#include <libcaja-private/caja-dnd.h>
#include <libcaja-private/caja-file-dnd.h>
#include <libcaja-private/caja-file-utilities.h>
@@ -2119,13 +2117,11 @@ fm_list_view_file_changed (FMDirectoryView *view, CajaFile *file, CajaDirectory
}
}
-#if !GTK_CHECK_VERSION (3, 22, 0)
static GtkWidget *
fm_list_view_get_background_widget (FMDirectoryView *view)
{
return GTK_WIDGET (view);
}
-#endif
static void
fm_list_view_get_selection_foreach_func (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
@@ -3290,9 +3286,7 @@ fm_list_view_class_init (FMListViewClass *class)
fm_directory_view_class->click_policy_changed = fm_list_view_click_policy_changed;
fm_directory_view_class->clear = fm_list_view_clear;
fm_directory_view_class->file_changed = fm_list_view_file_changed;
-#if !GTK_CHECK_VERSION (3, 22, 0)
fm_directory_view_class->get_background_widget = fm_list_view_get_background_widget;
-#endif
fm_directory_view_class->get_selection = fm_list_view_get_selection;
fm_directory_view_class->get_selection_for_file_transfer = fm_list_view_get_selection_for_file_transfer;
fm_directory_view_class->get_item_count = fm_list_view_get_item_count;