switch: Port to GtkCssNode

This is a simple port, no code modifications so far other than replacing
gtk_style_context_save() with gtk_style_context_save_to_node().
This commit is contained in:
Benjamin Otte
2015-02-16 23:05:05 +01:00
parent c075c14bf4
commit 950b1fb65c
3 changed files with 60 additions and 18 deletions

View File

@ -637,6 +637,12 @@ gtk_css_node_init (GtkCssNode *cssnode)
cssnode->visible = TRUE;
}
GtkCssNode *
gtk_css_node_new (void)
{
return g_object_new (GTK_TYPE_CSS_NODE, NULL);
}
static GdkFrameClock *
gtk_css_node_get_frame_clock_or_null (GtkCssNode *cssnode)
{