summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-30 15:39:25 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-05 14:56:38 +0200
commite3a717363bd4898aa72db250b6ab5af68fae284b (patch)
tree0bf74baadf2796319d5a3a598fc74d9fe188a791 /gtk/gtksnapshot.h
parent73650c6da2b6171d10633038f74088980e8a7fc7 (diff)
downloadgtk+-e3a717363bd4898aa72db250b6ab5af68fae284b.tar.gz
snapshot: Remove clip argument from gtk_snapshot_new()
It's not used anymore. And anybody who wants to have a clip on a newly created snapshot can achieve that using gtk_snapshot_push_clip().
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r--gtk/gtksnapshot.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h
index add8cdd0b5..05de9ab599 100644
--- a/gtk/gtksnapshot.h
+++ b/gtk/gtksnapshot.h
@@ -53,9 +53,8 @@ GType gtk_snapshot_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GtkSnapshot * gtk_snapshot_new (gboolean record_names,
- const cairo_region_t *clip,
const char *name,
- ...) G_GNUC_PRINTF (3, 4);
+ ...) G_GNUC_PRINTF (2, 3);
GDK_AVAILABLE_IN_ALL
GskRenderNode * gtk_snapshot_free_to_node (GtkSnapshot *snapshot);
GDK_AVAILABLE_IN_ALL