SHA256
1
0
forked from pool/nemo
nemo/nemo-implicit-pointer-decl.patch

22 lines
724 B
Diff

--- 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
@@ -17,6 +17,7 @@
#include "nemo-widget-menu-item.h"
#include "nemo-widget-action.h"
+#include <string.h>
enum {
PROP_0,