[gtk+/rendering-cleanup: 40/41] gdk: Remove GdkDrawable->create_cairo_surface vfunc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 40/41] gdk: Remove GdkDrawable->create_cairo_surface vfunc
- Date: Tue, 23 Nov 2010 00:24:59 +0000 (UTC)
commit f863574ddeb46a9accb1384165f615e9133e9f5c
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 23 01:08:08 2010 +0100
gdk: Remove GdkDrawable->create_cairo_surface vfunc
It's unused.
gdk/gdkdraw.c | 10 ----------
gdk/gdkdrawable.h | 4 ----
gdk/gdkinternals.h | 4 ----
gdk/x11/gdkwindow-x11.c | 1 -
4 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 77b2936..a46a1d8 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -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);
-}
diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h
index d790b02..9e75d15 100644
--- a/gdk/gdkdrawable.h
+++ b/gdk/gdkdrawable.h
@@ -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);
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 2a0ebb9..35d9eec 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -305,10 +305,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 *
*************************************/
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index d16e96a..f43a8b7 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]