diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-12 06:29:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:09 +0100 |
commit | 3eb7c4719b57a37888a7166fe4eae5fe1c081b72 (patch) | |
tree | 2d40ea8501920cba3cf11e28dce05623d9c08002 /gtk/gtksnapshot.h | |
parent | 4d376c80f3b1a2c6125f127e4ca0bac3c58489fe (diff) | |
download | gtk+-3eb7c4719b57a37888a7166fe4eae5fe1c081b72.tar.gz |
gsk: Remove gsk_render_node_set_bounds()
gsk_render_node_get_bounds() still exists and is computed via vfunc
call:
- containers dynamically compute the bounds from their children
- surface and texture nodes get bounds passed on construction
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 d5201064ec..e79d7134db 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -41,9 +41,8 @@ GskRenderer * gtk_snapshot_get_renderer (const GtkSnapshot GDK_AVAILABLE_IN_3_90 void gtk_snapshot_push (GtkSnapshot *snapshot, - const graphene_rect_t *bounds, const char *name, - ...) G_GNUC_PRINTF(3, 4); + ...) G_GNUC_PRINTF(2, 3); GDK_AVAILABLE_IN_3_90 void gtk_snapshot_push_node (GtkSnapshot *snapshot, GskRenderNode *node); |