summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-24 21:41:53 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-24 21:57:20 +0100
commit1cfa88ed913e795a88214a87388801d2850fa75e (patch)
tree9fcc62bf9dcf622cfe1afd9e405098b3111db157 /gtk/gtksnapshot.h
parente84c6acc4fcced6065d494a20c1feae88877d6c0 (diff)
downloadgtk+-1cfa88ed913e795a88214a87388801d2850fa75e.tar.gz
snapshot: Remove renderer
Now that there's no longer a need to keep the renderer around for Cairo rendering, don't do that then.
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r--gtk/gtksnapshot.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h
index e9852f8b96..c8003956fe 100644
--- a/gtk/gtksnapshot.h
+++ b/gtk/gtksnapshot.h
@@ -52,11 +52,10 @@ GDK_AVAILABLE_IN_ALL
GType gtk_snapshot_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
-GtkSnapshot * gtk_snapshot_new (GskRenderer *renderer,
- gboolean record_names,
+GtkSnapshot * gtk_snapshot_new (gboolean record_names,
const cairo_region_t *clip,
const char *name,
- ...) G_GNUC_PRINTF (4, 5);
+ ...) G_GNUC_PRINTF (3, 4);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gtk_snapshot_free_to_node (GtkSnapshot *snapshot);
@@ -64,8 +63,6 @@ GDK_AVAILABLE_IN_ALL
GskRenderNode * gtk_snapshot_to_node (GtkSnapshot *snapshot);
GDK_AVAILABLE_IN_ALL
-GskRenderer * gtk_snapshot_get_renderer (GtkSnapshot *snapshot);
-GDK_AVAILABLE_IN_ALL
gboolean gtk_snapshot_get_record_names (GtkSnapshot *snapshot);
GDK_AVAILABLE_IN_ALL