2016-11-09 13:16:13 +01:00
|
|
|
--- a/libnemo-private/nemo-file-undo-operations.c
|
|
|
|
+++ b/libnemo-private/nemo-file-undo-operations.c
|
|
|
|
@@ -1135,7 +1135,7 @@ trash_retrieve_files_to_restore_thread (
|
|
|
|
trash_time = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (abs (orig_trash_time - trash_time) <= TRASH_TIME_EPSILON) {
|
|
|
|
+ if (ABS (orig_trash_time - trash_time) <= TRASH_TIME_EPSILON) {
|
|
|
|
/* File in the trash */
|
|
|
|
item = g_file_get_child (trash, g_file_info_get_name (info));
|
|
|
|
g_hash_table_insert (to_restore, item, g_object_ref (origfile));
|
|
|
|
--- a/libnemo-private/nemo-widget-menu-item.c
|
|
|
|
+++ b/libnemo-private/nemo-widget-menu-item.c
|
2014-11-06 14:42:22 +01:00
|
|
|
@@ -17,6 +17,7 @@
|
|
|
|
|
|
|
|
#include "nemo-widget-menu-item.h"
|
|
|
|
#include "nemo-widget-action.h"
|
|
|
|
+#include <string.h>
|
|
|
|
|
|
|
|
enum {
|
|
|
|
PROP_0,
|