Add a window argument to begin_paint_region in the paintable interface
The paintable itself is now the impl window, which can be different from the window.
This commit is contained in:
committed by
Alexander Larsson
parent
95cbc754d4
commit
72d4403eed
@@ -396,6 +396,7 @@ struct _GdkPaintableIface
|
||||
GTypeInterface g_iface;
|
||||
|
||||
void (* begin_paint_region) (GdkPaintable *paintable,
|
||||
GdkWindow *window,
|
||||
const GdkRegion *region);
|
||||
void (* end_paint) (GdkPaintable *paintable);
|
||||
|
||||
|
||||
@@ -2171,7 +2171,7 @@ gdk_window_begin_paint_region (GdkWindow *window,
|
||||
GdkPaintableIface *iface = GDK_PAINTABLE_GET_IFACE (private->impl);
|
||||
|
||||
if (iface->begin_paint_region)
|
||||
iface->begin_paint_region ((GdkPaintable*)private->impl, region);
|
||||
iface->begin_paint_region ((GdkPaintable*)private->impl, window, region);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user