summaryrefslogtreecommitdiff
path: root/xfconf/xfconf-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfconf/xfconf-cache.c')
-rw-r--r--xfconf/xfconf-cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c
index 1a0d536..74f8dd0 100644
--- a/xfconf/xfconf-cache.c
+++ b/xfconf/xfconf-cache.c
@@ -62,7 +62,7 @@
typedef struct
{
#if 0
- GTimeVal last_used;
+ gint64 last_used;
#endif
GValue *value;
} XfconfCacheItem;
@@ -77,7 +77,7 @@ xfconf_cache_item_new(const GValue *value,
item = g_slice_new0(XfconfCacheItem);
#if 0
- g_get_current_time(&item->last_used);
+ item->last_used = g_get_monotonic_time ();
#endif
if(G_LIKELY(steal)) {
@@ -106,7 +106,7 @@ xfconf_cache_item_update(XfconfCacheItem *item,
return FALSE;
#if 0
- g_get_current_time(&item->last_used);
+ item->last_used = g_get_monotonic_time ();
#endif
if(value) {