summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-01-13 04:46:09 +0100
committerBenjamin Otte <otte@redhat.com>2017-01-13 04:46:09 +0100
commit6055028c9653b01c8623763dac0a213396bc81eb (patch)
tree03b49c37c59bf9ab2f5a96e81a2690ecb013b450 /docs
parente5e5beafa5b86eeb33e8384942e96e8fcf20c514 (diff)
downloadgtk+-6055028c9653b01c8623763dac0a213396bc81eb.tar.gz
snapshot: Rename append APIs
Instead of having gtk_snapshot_append_foo_node(), just have gtk_snapshot_append_foo(). Nobody needs to know that this internally uses nodes.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/gtk4-sections.txt6
-rw-r--r--docs/reference/gtk/migrating-3to4.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index d74a2a9ed5..cb93cf9b8a 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4465,9 +4465,9 @@ gtk_snapshot_set_transform
gtk_snapshot_transform
gtk_snapshot_translate_2d
gtk_snapshot_append_node
-gtk_snapshot_append_cairo_node
-gtk_snapshot_append_texture_node
-gtk_snapshot_append_color_node
+gtk_snapshot_append_cairo
+gtk_snapshot_append_texture
+gtk_snapshot_append_color
gtk_snapshot_clips_rect
gtk_snapshot_render_background
gtk_snapshot_render_frame
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 49b81a9981..537aad0aa7 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -229,7 +229,7 @@
to a cairo surface. Instead, they have a snapshot() function that creates
one or more GskRenderNodes to represent their content. Third-party widgets
that use a draw() function or a #GtkWidget::draw signal handler for custom
- drawing will need to be converted to use gtk_snapshot_append_cairo_node().
+ drawing will need to be converted to use gtk_snapshot_append_cairo().
</para>
<para>
The auxiliary #GtkSnapshot object has APIs to help with creating render