diff options
author | Benjamin Otte <otte@redhat.com> | 2015-02-07 18:53:07 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-18 15:23:30 +0100 |
commit | 020f3f11c801617b8acdba3dcbc852426aba848f (patch) | |
tree | e515139ce27fd4c68f41d475eb22d7d2f10f064c /gtk/gtkcsswidgetnodeprivate.h | |
parent | cdd964a3af4ac73ba09c975e73054c5ba618ed99 (diff) | |
download | gtk+-020f3f11c801617b8acdba3dcbc852426aba848f.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcsswidgetnodeprivate.h')
-rw-r--r-- | gtk/gtkcsswidgetnodeprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcsswidgetnodeprivate.h b/gtk/gtkcsswidgetnodeprivate.h index a3a59c8406..28e602006e 100644 --- a/gtk/gtkcsswidgetnodeprivate.h +++ b/gtk/gtkcsswidgetnodeprivate.h @@ -38,6 +38,7 @@ struct _GtkCssWidgetNode GtkCssNode node; GtkWidget *widget; + guint validate_cb_id; }; struct _GtkCssWidgetNodeClass |