diff options
author | Benjamin Otte <otte@redhat.com> | 2015-02-13 19:57:55 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-18 15:23:31 +0100 |
commit | d3471508a0fbca2ebfbf8be6c71da5d4ecda2dbe (patch) | |
tree | 97766b8563fb5b5d61bbc2177c47d3fe37cf4b89 /gtk/gtkcontainer.c | |
parent | 9b73b39f9ad2b8d4ddb884d89da551e7a69c426b (diff) | |
download | gtk+-d3471508a0fbca2ebfbf8be6c71da5d4ecda2dbe.tar.gz |
cssnode: Use the frame clock's time
... nstead of the monotonic time when validating a cssnode.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 583e4c0e36..731fad2c75 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1847,14 +1847,12 @@ gtk_container_idle_sizer (GdkFrameClock *clock, if (container->priv->restyle_pending) { GtkBitmask *empty; - gint64 current_time; empty = _gtk_bitmask_new (); - current_time = g_get_monotonic_time (); container->priv->restyle_pending = FALSE; gtk_css_node_validate (gtk_widget_get_css_node (GTK_WIDGET (container)), - current_time, + gdk_frame_clock_get_frame_time (gtk_widget_get_frame_clock (GTK_WIDGET (container))), empty); _gtk_bitmask_free (empty); |