diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-06 19:12:27 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-02 20:17:28 +0100 |
commit | 97e6e9d212de2cfe543872513c6956bdee6dc6e7 (patch) | |
tree | e84d70c80e77ee9736445a96f7e7ed7ab41646ac /gdk/gdkcairo.h | |
parent | 65dde2f92f8d2fb78688966d2258848383270877 (diff) | |
download | gtk+-97e6e9d212de2cfe543872513c6956bdee6dc6e7.tar.gz |
API: Make gdk_cairo_create() take a GdkWindow
This is not strictly an API change as GdkDrawable is typedeffed to
GdkWindow, but it changes the header, so I'm marking it as such.
gdk_cairo_create() can only be used with windows these days, so it makes
sense to pass a window. With that, we can alseo remove the
set_cairo_clip() vfunc from GdkDrawable and implement it inside
gdkwindow.c.
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r-- | gdk/gdkcairo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h index f594f8bec7..67e08aa933 100644 --- a/gdk/gdkcairo.h +++ b/gdk/gdkcairo.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS -cairo_t *gdk_cairo_create (GdkDrawable *drawable); +cairo_t *gdk_cairo_create (GdkWindow *window); gboolean gdk_cairo_get_clip_rectangle(cairo_t *cr, GdkRectangle *rect); |