summaryrefslogtreecommitdiff
path: root/gdk/gdkpaintable.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-02 07:55:02 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-05 14:56:39 +0200
commitc74854fe49841b478ce32bc064aa07de82bb9abb (patch)
treed2cdf176a31642dd2b70640ea26180abb42a2310 /gdk/gdkpaintable.h
parentffc7b2bb0afd04cacbe45cff6f27eb5d644d5b2b (diff)
downloadgtk+-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.h3
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