summaryrefslogtreecommitdiff
path: root/src/nautilus-file-undo-operations.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-07-18 03:15:53 +0200
committerBastien Nocera <hadess@hadess.net>2017-07-18 03:25:03 +0200
commite367134de0e3d2fd6e9445be91c3fb5572140b8c (patch)
treed3dc505e94949392ec266ed1bbf80d5eb9e59dd9 /src/nautilus-file-undo-operations.c
parent4ac20d7b6a032a654128e7e51bb141bd04d46c24 (diff)
downloadnautilus-e367134de0e3d2fd6e9445be91c3fb5572140b8c.tar.gz
build: Make tracker a hard dependency
A large number of core features require Tracker to work, and many of the new features using Tracker don't have any fallback support, failing to build when Tracker is not available, so make tracker a hard requirement. https://bugzilla.gnome.org/show_bug.cgi?id=784940
Diffstat (limited to 'src/nautilus-file-undo-operations.c')
-rw-r--r--src/nautilus-file-undo-operations.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-file-undo-operations.c b/src/nautilus-file-undo-operations.c
index 87ee93f41..e833d0578 100644
--- a/src/nautilus-file-undo-operations.c
+++ b/src/nautilus-file-undo-operations.c
@@ -31,10 +31,8 @@
#include "nautilus-file-operations.h"
#include "nautilus-file.h"
#include "nautilus-file-undo-manager.h"
-#ifdef ENABLE_TRACKER
#include "nautilus-batch-rename-dialog.h"
#include "nautilus-batch-rename-utilities.h"
-#endif /* ENABLE_TRACKER */
/* Since we use g_get_current_time for setting "orig_trash_time" in the undo
@@ -1088,7 +1086,6 @@ nautilus_file_undo_info_rename_set_data_post (NautilusFileUndoInfoRename *self,
self->priv->new_file = g_object_ref (new_file);
}
-#ifdef ENABLE_TRACKER
/* batch rename */
G_DEFINE_TYPE (NautilusFileUndoInfoBatchRename, nautilus_file_undo_info_batch_rename, NAUTILUS_TYPE_FILE_UNDO_INFO);
@@ -1306,7 +1303,6 @@ nautilus_file_undo_info_batch_rename_set_data_post (NautilusFileUndoInfoBatchRen
self->priv->new_display_names = g_list_reverse (self->priv->new_display_names);
}
-#endif /* ENABLE_TRACKER */
/* trash */
G_DEFINE_TYPE (NautilusFileUndoInfoTrash, nautilus_file_undo_info_trash, NAUTILUS_TYPE_FILE_UNDO_INFO)