diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-30 15:39:25 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-05 14:56:38 +0200 |
commit | e3a717363bd4898aa72db250b6ab5af68fae284b (patch) | |
tree | 0bf74baadf2796319d5a3a598fc74d9fe188a791 /gtk/gtksnapshot.h | |
parent | 73650c6da2b6171d10633038f74088980e8a7fc7 (diff) | |
download | gtk+-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.h | 3 |
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 |