Move new draw_drawable argument to end to make it more backwards compat

This commit is contained in:
Alexander Larsson 2009-07-01 16:13:31 +02:00
parent 10bf7ca744
commit 038398d493
8 changed files with 25 additions and 24 deletions

View File

@ -669,11 +669,12 @@ gdk_draw_drawable (GdkDrawable *drawable,
area in the destination instead. */
GDK_DRAWABLE_GET_CLASS (drawable)->draw_drawable (drawable, gc,
composite_impl, src,
composite_impl,
xsrc - composite_x_offset,
ysrc - composite_y_offset,
xdest, ydest,
width, height);
width, height,
src);
g_object_unref (composite);
}

View File

@ -100,13 +100,13 @@ struct _GdkDrawableClass
void (*draw_drawable) (GdkDrawable *drawable,
GdkGC *gc,
GdkDrawable *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height);
gint height,
GdkDrawable *original_src);
void (*draw_points) (GdkDrawable *drawable,
GdkGC *gc,
GdkPoint *points,

View File

@ -284,13 +284,13 @@ static void
gdk_offscreen_window_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkDrawable *original_src)
{
GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable);
GdkDrawable *real_drawable = get_real_drawable (offscreen);

View File

@ -72,13 +72,13 @@ static void gdk_pixmap_draw_text_wc (GdkDrawable *drawable,
static void gdk_pixmap_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkPixmap *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height);
gint height,
GdkPixmap *original_src);
static void gdk_pixmap_draw_points (GdkDrawable *drawable,
GdkGC *gc,
GdkPoint *points,
@ -375,13 +375,13 @@ static void
gdk_pixmap_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkPixmap *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkPixmap *original_src)
{
GdkPixmapObject *private = (GdkPixmapObject *)drawable;

View File

@ -188,13 +188,13 @@ static void gdk_window_draw_text_wc (GdkDrawable *drawable,
static void gdk_window_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height);
gint height,
GdkDrawable *original_src);
static void gdk_window_draw_points (GdkDrawable *drawable,
GdkGC *gc,
GdkPoint *points,
@ -3485,13 +3485,13 @@ static void
gdk_window_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkDrawable *original_src)
{
GdkWindowObject *private = (GdkWindowObject *)drawable;

View File

@ -326,13 +326,13 @@ static void
gdk_quartz_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkDrawable *original_src)
{
int src_depth = gdk_drawable_get_depth (src);
int dest_depth = gdk_drawable_get_depth (drawable);

View File

@ -87,13 +87,13 @@ static void gdk_win32_draw_text_wc (GdkDrawable *drawable,
static void gdk_win32_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height);
gint height,
GdkDrawable *original_src);
static void gdk_win32_draw_points (GdkDrawable *drawable,
GdkGC *gc,
GdkPoint *points,
@ -1144,13 +1144,13 @@ static void
gdk_win32_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkDrawable *original_src)
{
g_assert (GDK_IS_DRAWABLE_IMPL_WIN32 (drawable));

View File

@ -88,13 +88,13 @@ static void gdk_x11_draw_text_wc (GdkDrawable *drawable,
static void gdk_x11_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height);
gint height,
GdkDrawable *original_src);
static void gdk_x11_draw_points (GdkDrawable *drawable,
GdkGC *gc,
GdkPoint *points,
@ -619,13 +619,13 @@ static void
gdk_x11_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
GdkDrawable *original_src,
gint xsrc,
gint ysrc,
gint xdest,
gint ydest,
gint width,
gint height)
gint height,
GdkDrawable *original_src)
{
int src_depth = gdk_drawable_get_depth (src);
int dest_depth = gdk_drawable_get_depth (drawable);