diff options
author | Michael Natterer <mitch@gimp.org> | 2010-09-28 16:03:59 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2010-09-28 16:05:38 +0200 |
commit | 06773b1e8be3bc953230c0f1c2e9fce9677cfac2 (patch) | |
tree | 63166d32e4e52db662adf84de3fd693788141c8e /gdk/gdkoffscreenwindow.c | |
parent | f51f39af2a1271b1ba79c6ee8354404480f05d44 (diff) | |
download | gtk+-06773b1e8be3bc953230c0f1c2e9fce9677cfac2.tar.gz |
gdk: remove "screen" member from GdkOffscreenWindow, it has become obsolete
Also remove screen parameter from _gdk_offscreen_window_new() and get
rid of a bunch on includes in gdkoffscreenwindow.c
Diffstat (limited to 'gdk/gdkoffscreenwindow.c')
-rw-r--r-- | gdk/gdkoffscreenwindow.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index 09375d3f81..ebbdcc7737 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -24,16 +24,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#include <config.h> +#include "config.h" + #include <math.h> -#include "gdk.h" + #include "gdkwindow.h" #include "gdkinternals.h" #include "gdkwindowimpl.h" -#include "gdkdrawable.h" -#include "gdktypes.h" -#include "gdkscreen.h" -#include "gdkcolor.h" /* LIMITATIONS: @@ -51,7 +48,6 @@ struct _GdkOffscreenWindow GdkDrawable parent_instance; GdkWindow *wrapper; - GdkScreen *screen; cairo_surface_t *surface; GdkWindow *embedder; @@ -138,7 +134,6 @@ gdk_offscreen_window_ref_cairo_surface (GdkDrawable *drawable) void _gdk_offscreen_window_new (GdkWindow *window, - GdkScreen *screen, GdkWindowAttr *attributes, gint attributes_mask) { @@ -159,8 +154,6 @@ _gdk_offscreen_window_new (GdkWindow *window, offscreen = GDK_OFFSCREEN_WINDOW (private->impl); offscreen->wrapper = window; - offscreen->screen = screen; - offscreen->surface = gdk_window_create_similar_surface ((GdkWindow *)private->parent, CAIRO_CONTENT_COLOR, private->width, |