diff options
Diffstat (limited to 'src/file-manager')
-rw-r--r-- | src/file-manager/fm-directory-view.c | 4 | ||||
-rw-r--r-- | src/file-manager/fm-list-view.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index dce96c56..41ea3f16 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -3198,7 +3198,7 @@ changes_timeout_callback (gpointer data) g_object_ref (G_OBJECT (view)); - now = eel_get_system_time(); + now = g_get_monotonic_time(); time_delta = now - view->details->last_queued; if (time_delta < UPDATE_INTERVAL_RESET*1000) { @@ -3223,7 +3223,7 @@ static void schedule_changes (FMDirectoryView *view) { /* Remember when the change was queued */ - view->details->last_queued = eel_get_system_time(); + view->details->last_queued = g_get_monotonic_time(); /* No need to schedule if there are already changes pending or during loading */ if (view->details->changes_timeout_id != 0 || diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index d1b9cb89..c5bb473a 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -697,7 +697,7 @@ button_press_callback (GtkWidget *widget, GdkEventButton *event, gpointer callba NULL); /* Determine click count */ - current_time = eel_get_system_time (); + current_time = g_get_monotonic_time (); if (current_time - last_click_time < double_click_time * 1000) { click_count++; |