summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshotprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-13 05:08:40 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:10 +0100
commitc258ee403a92203957f786138e79cfbeea853ad1 (patch)
treef21fe8528caf9b66e2208f059544984214bb759d /gtk/gtksnapshotprivate.h
parente6d423e0e26ec4630667defa2ffe3e1e83d6b894 (diff)
downloadgtk+-c258ee403a92203957f786138e79cfbeea853ad1.tar.gz
snapshot: Make gtk_snapshot_get_renderer() private
Public API doesn't need to be concerned with renderers. Worst case, they can use NULL instead of the actual renderer.
Diffstat (limited to 'gtk/gtksnapshotprivate.h')
-rw-r--r--gtk/gtksnapshotprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtksnapshotprivate.h b/gtk/gtksnapshotprivate.h
index eb8cbacba0..9050c4f652 100644
--- a/gtk/gtksnapshotprivate.h
+++ b/gtk/gtksnapshotprivate.h
@@ -48,6 +48,8 @@ void gtk_snapshot_init (GtkSnapshot *state,
...) G_GNUC_PRINTF (4, 5);
GskRenderNode * gtk_snapshot_finish (GtkSnapshot *state);
+GskRenderer * gtk_snapshot_get_renderer (const GtkSnapshot *snapshot);
+
G_END_DECLS
#endif /* __GTK_SNAPSHOT_PRIVATE_H__ */