gdk: Remove picture pointer from X11 drawable

It's not used anymore
This commit is contained in:
Kristian Høgsberg 2010-08-05 10:10:45 -04:00 committed by Benjamin Otte
parent c4f280651a
commit c7bd2ad1c9
3 changed files with 0 additions and 12 deletions

View File

@ -147,9 +147,6 @@ struct _GdkDisplayX11
guint have_input_shapes : 1; guint have_input_shapes : 1;
gint shape_event_base; gint shape_event_base;
/* Alpha mask picture format */
XRenderPictFormat *mask_format;
/* The offscreen window that has the pointer in it (if any) */ /* The offscreen window that has the pointer in it (if any) */
GdkWindow *active_offscreen_window; GdkWindow *active_offscreen_window;
}; };

View File

@ -107,13 +107,6 @@ _gdk_x11_drawable_finish (GdkDrawable *drawable)
{ {
GdkDrawableImplX11 *impl = GDK_DRAWABLE_IMPL_X11 (drawable); GdkDrawableImplX11 *impl = GDK_DRAWABLE_IMPL_X11 (drawable);
if (impl->picture)
{
XRenderFreePicture (GDK_SCREEN_XDISPLAY (impl->screen),
impl->picture);
impl->picture = None;
}
if (impl->cairo_surface) if (impl->cairo_surface)
{ {
cairo_surface_finish (impl->cairo_surface); cairo_surface_finish (impl->cairo_surface);

View File

@ -32,7 +32,6 @@
#include <gdk/gdkdrawable.h> #include <gdk/gdkdrawable.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
G_BEGIN_DECLS G_BEGIN_DECLS
@ -68,7 +67,6 @@ struct _GdkDrawableImplX11
Window xid; Window xid;
GdkScreen *screen; GdkScreen *screen;
Picture picture;
cairo_surface_t *cairo_surface; cairo_surface_t *cairo_surface;
}; };