cssnode: Handle invalidate queueing differently

Instead of directly requesting the layout phase, register a tick
callback. This is what the docs suggest for animations and it's what we
need for the next commit.
This commit is contained in:
Benjamin Otte
2015-02-07 18:53:07 +01:00
parent cdd964a3af
commit 020f3f11c8
2 changed files with 18 additions and 3 deletions

View File

@ -38,6 +38,7 @@ struct _GtkCssWidgetNode
GtkCssNode node;
GtkWidget *widget;
guint validate_cb_id;
};
struct _GtkCssWidgetNodeClass