[gtk+/wip/cssnode3: 49/101] cssnode: Use the frame clock's time
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssnode3: 49/101] cssnode: Use the frame clock's time
- Date: Wed, 11 Mar 2015 00:23:43 +0000 (UTC)
commit 64183df4a04d350b0ac43ad94ecdcefa727f2685
Author: Benjamin Otte <otte redhat com>
Date: Fri Feb 13 19:57:55 2015 +0100
cssnode: Use the frame clock's time
... nstead of the monotonic time when validating a cssnode.
gtk/gtkcontainer.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 583e4c0..731fad2 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]