diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-02 07:55:02 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-05 14:56:39 +0200 |
commit | c74854fe49841b478ce32bc064aa07de82bb9abb (patch) | |
tree | d2cdf176a31642dd2b70640ea26180abb42a2310 /gdk/gdkpaintable.h | |
parent | ffc7b2bb0afd04cacbe45cff6f27eb5d644d5b2b (diff) | |
download | gtk+-c74854fe49841b478ce32bc064aa07de82bb9abb.tar.gz |
paintable: Introduce gdk_paintable_new_empty()
Also, use it where appropriate.
Diffstat (limited to 'gdk/gdkpaintable.h')
-rw-r--r-- | gdk/gdkpaintable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkpaintable.h b/gdk/gdkpaintable.h index d38f0511e5..751e04af05 100644 --- a/gdk/gdkpaintable.h +++ b/gdk/gdkpaintable.h @@ -135,6 +135,9 @@ GDK_AVAILABLE_IN_ALL void gdk_paintable_invalidate_contents (GdkPaintable *paintable); GDK_AVAILABLE_IN_ALL void gdk_paintable_invalidate_size (GdkPaintable *paintable); +GDK_AVAILABLE_IN_ALL +GdkPaintable * gdk_paintable_new_empty (int intrinsic_width, + int intrinsic_height); G_END_DECLS |