diff options
author | Benjamin Otte <otte@redhat.com> | 2015-02-14 06:45:21 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-18 15:23:31 +0100 |
commit | 13fd36878196c78c74b14da205bd7e9c108d2ab5 (patch) | |
tree | a38a281ff31977d6bc13b95c17cf720749602c73 /gtk/gtkcssnodeprivate.h | |
parent | 75b633ae0826a249c7cf50691050b7a98931fec5 (diff) | |
download | gtk+-13fd36878196c78c74b14da205bd7e9c108d2ab5.tar.gz |
cssnode: Change vfunc
This is mainly an attempt to merge the update_style() and validte()
vfuncs. Code is not there yet, but that's the idea.
Also, gtk_css_node_set_style() should not be public. And this gets
closer to that goal, too.
Diffstat (limited to 'gtk/gtkcssnodeprivate.h')
-rw-r--r-- | gtk/gtkcssnodeprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcssnodeprivate.h b/gtk/gtkcssnodeprivate.h index 33949990d4..9101507fca 100644 --- a/gtk/gtkcssnodeprivate.h +++ b/gtk/gtkcssnodeprivate.h @@ -69,7 +69,8 @@ struct _GtkCssNodeClass void (* invalidate) (GtkCssNode *node); void (* queue_validate) (GtkCssNode *node); void (* dequeue_validate) (GtkCssNode *node); - gboolean (* validate) (GtkCssNode *cssnode, + GtkCssStyle * (* validate) (GtkCssNode *cssnode, + GtkCssStyle *current_style, gint64 timestamp, GtkCssChange change, gboolean parent_changed); |