]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkpixmap.c
API: remove gdk_draw_drawable()
[~andy/gtk] / gdk / gdkpixmap.c
index fdb3d29ec927001f1789abfb560bc8ffd3ad4834..c5e71c42454ff84d2d9c6da61d9f0a721b9cffc6 100644 (file)
 static GdkGC *gdk_pixmap_create_gc      (GdkDrawable     *drawable,
                                          GdkGCValues     *values,
                                          GdkGCValuesMask  mask);
-static void   gdk_pixmap_draw_drawable  (GdkDrawable     *drawable,
-                                        GdkGC           *gc,
-                                        GdkPixmap       *src,
-                                        gint             xsrc,
-                                        gint             ysrc,
-                                        gint             xdest,
-                                        gint             ydest,
-                                        gint             width,
-                                        gint             height,
-                                        GdkPixmap       *original_src);
 
 static void   gdk_pixmap_real_get_size  (GdkDrawable     *drawable,
                                          gint            *width,
@@ -102,7 +92,6 @@ gdk_pixmap_class_init (GdkPixmapObjectClass *klass)
   object_class->finalize = gdk_pixmap_finalize;
 
   drawable_class->create_gc = gdk_pixmap_create_gc;
-  drawable_class->draw_drawable_with_src = gdk_pixmap_draw_drawable;
   drawable_class->get_depth = gdk_pixmap_real_get_depth;
   drawable_class->get_screen = gdk_pixmap_real_get_screen;
   drawable_class->get_size = gdk_pixmap_real_get_size;
@@ -181,30 +170,6 @@ gdk_pixmap_create_gc (GdkDrawable     *drawable,
                                  values, mask);
 }
 
-static void
-gdk_pixmap_draw_drawable (GdkDrawable *drawable,
-                         GdkGC       *gc,
-                         GdkPixmap   *src,
-                         gint         xsrc,
-                         gint         ysrc,
-                         gint         xdest,
-                         gint         ydest,
-                         gint         width,
-                         gint         height,
-                         GdkPixmap   *original_src)
-{
-  GdkPixmapObject *private = (GdkPixmapObject *)drawable;
-
-  _gdk_gc_remove_drawable_clip (gc);
-  /* Call the method directly to avoid getting the composite drawable again */
-  GDK_DRAWABLE_GET_CLASS (private->impl)->draw_drawable_with_src (private->impl, gc,
-                                                                 src,
-                                                                 xsrc, ysrc,
-                                                                 xdest, ydest,
-                                                                 width, height,
-                                                                 original_src);
-}
-
 static void
 gdk_pixmap_real_get_size (GdkDrawable *drawable,
                           gint *width,