summaryrefslogtreecommitdiff
path: root/gdk/gdkdraw.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-12-15 15:50:41 +0100
committerAlexander Larsson <alex@localhost.localdomain>2009-04-02 10:15:15 +0200
commit0d540e935b045c41afbca0e87a5b89d56006c8bf (patch)
tree7e80f9aabe72132177a3088272f0fbf7808ced2d /gdk/gdkdraw.c
parent0ba99e6e7b522973ab2721b13c9dd5c488eeeb66 (diff)
downloadgtk+-0d540e935b045c41afbca0e87a5b89d56006c8bf.tar.gz
Create _gdk_drawable_create_cairo_surface to ugly typechecking
Diffstat (limited to 'gdk/gdkdraw.c')
-rw-r--r--gdk/gdkdraw.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 8e8a3be87a..73f262ad3c 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -1804,5 +1804,15 @@ _gdk_drawable_get_source_drawable (GdkDrawable *drawable)
return drawable;
}
+cairo_surface_t *
+_gdk_drawable_create_cairo_surface (GdkDrawable *drawable,
+ int width,
+ int height)
+{
+ return GDK_DRAWABLE_GET_CLASS (drawable)->create_cairo_surface (drawable,
+ width, height);
+}
+
+
#define __GDK_DRAW_C__
#include "gdkaliasdef.c"