Commit b8663e86 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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().
parent e4515f4d
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
......
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
......
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
......
......@@ -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,
......
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment