Call cairo_surface_finish()

2005-03-18  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
        Call cairo_surface_finish()

        * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
        _gdk_windowing_set_surface_device_offset().
This commit is contained in:
Owen Taylor 2005-03-18 23:51:31 +00:00 committed by Owen Taylor
parent e4515f4dba
commit b8663e868f
5 changed files with 25 additions and 12 deletions

View File

@ -1,3 +1,11 @@
2005-03-18 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
Call cairo_surface_finish()
* gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
_gdk_windowing_set_surface_device_offset().
2005-03-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On

View File

@ -1,3 +1,11 @@
2005-03-18 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
Call cairo_surface_finish()
* gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
_gdk_windowing_set_surface_device_offset().
2005-03-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On

View File

@ -1,3 +1,11 @@
2005-03-18 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
Call cairo_surface_finish()
* gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
_gdk_windowing_set_surface_device_offset().
2005-03-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On

View File

@ -262,10 +262,6 @@ void _gdk_windowing_window_clear_area_e (GdkWindow *window,
gint width,
gint height);
void _gdk_windowing_set_surface_device_offset (cairo_surface_t *surface,
gint x_offset,
gint y_offset);
void _gdk_windowing_get_pointer (GdkDisplay *display,
GdkScreen **screen,
gint *x,

View File

@ -240,6 +240,7 @@ _gdk_x11_drawable_finish (GdkDrawable *drawable)
if (impl->cairo_surface)
{
cairo_surface_finish (impl->cairo_surface);
cairo_surface_set_user_data (impl->cairo_surface, &gdk_x11_cairo_key,
NULL, NULL);
}
@ -1461,13 +1462,5 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
return impl->cairo_surface;
}
void
_gdk_windowing_set_surface_device_offset (cairo_surface_t *surface,
gint x_offset,
gint y_offset)
{
cairo_xlib_surface_set_device_offset (surface, x_offset, y_offset);
}
#define __GDK_DRAWABLE_X11_C__
#include "gdkaliasdef.c"