gtk_snapshot_translate (snapshot, &translate);
}
+ gtk_snapshot_push_clip (snapshot,
+ &GRAPHENE_RECT_INIT (0,
+ 0,
+ SCREEN_WIDTH (widget),
+ SCREEN_HEIGHT (widget)));
+
context = gtk_widget_get_style_context (widget);
gtk_style_context_save_to_node (context, text_view->priv->text_window->css_node);
gtk_snapshot_render_background (snapshot, context,
gtk_snapshot_restore (snapshot);
}
+ gtk_snapshot_pop (snapshot);
+
if (translate.x || translate.y)
gtk_snapshot_restore (snapshot);
}