mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
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:
parent
e4515f4dba
commit
b8663e868f
@ -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>
|
2005-03-18 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
|
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
|
||||||
|
@ -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>
|
2005-03-18 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
|
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
|
||||||
|
@ -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>
|
2005-03-18 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
|
* 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 width,
|
||||||
gint height);
|
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,
|
void _gdk_windowing_get_pointer (GdkDisplay *display,
|
||||||
GdkScreen **screen,
|
GdkScreen **screen,
|
||||||
gint *x,
|
gint *x,
|
||||||
|
@ -240,6 +240,7 @@ _gdk_x11_drawable_finish (GdkDrawable *drawable)
|
|||||||
|
|
||||||
if (impl->cairo_surface)
|
if (impl->cairo_surface)
|
||||||
{
|
{
|
||||||
|
cairo_surface_finish (impl->cairo_surface);
|
||||||
cairo_surface_set_user_data (impl->cairo_surface, &gdk_x11_cairo_key,
|
cairo_surface_set_user_data (impl->cairo_surface, &gdk_x11_cairo_key,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
}
|
}
|
||||||
@ -1461,13 +1462,5 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
|
|||||||
return impl->cairo_surface;
|
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__
|
#define __GDK_DRAWABLE_X11_C__
|
||||||
#include "gdkaliasdef.c"
|
#include "gdkaliasdef.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user