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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user