diff --git a/glib/tests/bookmarkfile.c b/glib/tests/bookmarkfile.c index b96e58503..d3038796a 100644 --- a/glib/tests/bookmarkfile.c +++ b/glib/tests/bookmarkfile.c @@ -911,7 +911,7 @@ test_deprecated (void) G_GNUC_BEGIN_IGNORE_DEPRECATIONS - now = time (NULL); + now = g_get_real_time () / G_USEC_PER_SEC; file = g_bookmark_file_new (); /* added */