summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-11-13 23:54:30 +0100
committerBenjamin Otte <otte@redhat.com>2016-11-15 17:48:45 +0100
commite3b1c9f1cd4061aa3b0db2ecffd004e6694e68a5 (patch)
tree86bf627710241121fdb81ee6881e194906342db0 /gtk/gtksnapshot.h
parentda207c9fdd1653923ce718dcb58480eaba9234cb (diff)
downloadgtk+-e3b1c9f1cd4061aa3b0db2ecffd004e6694e68a5.tar.gz
snapshot: Port to GtkSwitch
Included is the addition of gtk_snapshot_render_layout(), which is meant to replace gtk_render_layout().
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r--gtk/gtksnapshot.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h
index 159c25362c..948e22c02e 100644
--- a/gtk/gtksnapshot.h
+++ b/gtk/gtksnapshot.h
@@ -96,6 +96,12 @@ void gtk_snapshot_render_frame (GtkSnapshot
gdouble y,
gdouble width,
gdouble height);
+GDK_AVAILABLE_IN_3_90
+void gtk_snapshot_render_layout (GtkSnapshot *state,
+ GtkStyleContext *context,
+ gdouble x,
+ gdouble y,
+ PangoLayout *layout);
G_END_DECLS