summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-icon-info.c')
-rw-r--r--libcaja-private/caja-icon-info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-info.c b/libcaja-private/caja-icon-info.c
index 5d783877..a32cf991 100644
--- a/libcaja-private/caja-icon-info.c
+++ b/libcaja-private/caja-icon-info.c
@@ -57,7 +57,7 @@ G_DEFINE_TYPE (CajaIconInfo,
static void
caja_icon_info_init (CajaIconInfo *icon)
{
- icon->last_use_time = g_thread_gettime ();
+ icon->last_use_time = g_get_monotonic_time () * 1000;
icon->sole_owner = TRUE;
}
@@ -80,7 +80,7 @@ pixbuf_toggle_notify (gpointer info,
g_object_remove_toggle_ref (object,
pixbuf_toggle_notify,
info);
- icon->last_use_time = g_thread_gettime ();
+ icon->last_use_time = g_get_monotonic_time () * 1000;
schedule_reap_cache ();
}
}
@@ -228,7 +228,7 @@ reap_cache (gpointer data)
reapable_icons_left = TRUE;
- time_now = g_thread_gettime ();
+ time_now = g_get_monotonic_time () * 1000;
if (loadable_icon_cache)
{