Commit 1215f70e authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gdk: Remove GdkDrawable->create_cairo_surface vfunc

It's unused.
parent 370d272b
......@@ -69,13 +69,3 @@ _gdk_drawable_ref_cairo_surface (GdkDrawable *drawable)
return GDK_DRAWABLE_GET_CLASS (drawable)->ref_cairo_surface (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);
}
......@@ -61,10 +61,6 @@ struct _GdkDrawableClass
cairo_surface_t *(*ref_cairo_surface) (GdkDrawable *drawable);
cairo_surface_t * (*create_cairo_surface) (GdkDrawable *drawable,
int width,
int height);
/* Padding for future expansion */
void (*_gdk_reserved7) (void);
void (*_gdk_reserved9) (void);
......
......@@ -311,10 +311,6 @@ gboolean _gdk_cairo_surface_extents (cairo_surface_t *surface,
cairo_surface_t *_gdk_drawable_ref_cairo_surface (GdkDrawable *drawable);
cairo_surface_t * _gdk_drawable_create_cairo_surface (GdkDrawable *drawable,
int width,
int height);
/*************************************
* Interfaces used by windowing code *
*************************************/
......
......@@ -5573,7 +5573,6 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
object_class->finalize = gdk_window_impl_x11_finalize;
drawable_class->ref_cairo_surface = gdk_x11_ref_cairo_surface;
drawable_class->create_cairo_surface = gdk_x11_create_cairo_surface;
impl_class->show = gdk_window_x11_show;
impl_class->hide = gdk_window_x11_hide;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment