diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-11 10:50:02 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-11 11:36:41 -0400 |
commit | 13982305a26865d0f13196044223138324aa8823 (patch) | |
tree | 88605da1dfd58616282cddecc94627a05a755b4a /eel/eel-stock-dialogs.c | |
parent | aab313755af30fa63bf2c653400743fb87f7c027 (diff) | |
download | nautilus-13982305a26865d0f13196044223138324aa8823.tar.gz |
all: don't use eel_get_system_time()
Use g_get_monotonic_time() instead.
Diffstat (limited to 'eel/eel-stock-dialogs.c')
-rw-r--r-- | eel/eel-stock-dialogs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c index bc5bb29e5..7d9ffca3f 100644 --- a/eel/eel-stock-dialogs.c +++ b/eel/eel-stock-dialogs.c @@ -133,7 +133,7 @@ timed_wait_free (TimedWait *wait) wait); /* compute time up in milliseconds */ - time_up = (eel_get_system_time () - wait->dialog_creation_time) / 1000; + time_up = (g_get_monotonic_time () - wait->dialog_creation_time) / 1000; if (time_up < TIMED_WAIT_MIN_TIME_UP) { delayed_close_handler_id = g_timeout_add (TIMED_WAIT_MIN_TIME_UP - time_up, @@ -216,7 +216,7 @@ timed_wait_callback (gpointer callback_data) gtk_window_set_default_size (GTK_WINDOW (dialog), TIMED_WAIT_MINIMUM_DIALOG_WIDTH, -1); - wait->dialog_creation_time = eel_get_system_time (); + wait->dialog_creation_time = g_get_monotonic_time (); gtk_widget_show (GTK_WIDGET (dialog)); /* FIXME bugzilla.eazel.com 2441: |