diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-17 04:50:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-10 21:02:28 +0200 |
commit | 600fbd3e740f72a010ecf84780b07927f08d743f (patch) | |
tree | 2c255b9c069c390bb6dcc691ccd1e28443f3e49d /gdk/gdkoffscreenwindow.c | |
parent | 66048b2f92d000f426b40d54aa1f9267b2165b9b (diff) | |
download | gtk+-600fbd3e740f72a010ecf84780b07927f08d743f.tar.gz |
API: remove gdk_draw_rectangle()
Diffstat (limited to 'gdk/gdkoffscreenwindow.c')
-rw-r--r-- | gdk/gdkoffscreenwindow.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index d582a08e7a..a21ad163a0 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -304,25 +304,6 @@ gdk_offscreen_window_draw_drawable (GdkDrawable *drawable, add_damage (offscreen, xdest, ydest, width, height, FALSE); } -static void -gdk_offscreen_window_draw_rectangle (GdkDrawable *drawable, - GdkGC *gc, - gboolean filled, - gint x, - gint y, - gint width, - gint height) -{ - GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable); - GdkDrawable *real_drawable = get_real_drawable (offscreen); - - gdk_draw_rectangle (real_drawable, - gc, filled, x, y, width, height); - - add_damage (offscreen, x, y, width, height, !filled); - -} - void _gdk_offscreen_window_new (GdkWindow *window, GdkScreen *screen, @@ -947,7 +928,6 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass) drawable_class->get_source_drawable = gdk_offscreen_window_get_source_drawable; drawable_class->get_composite_drawable = gdk_offscreen_window_get_composite_drawable; - drawable_class->draw_rectangle = gdk_offscreen_window_draw_rectangle; drawable_class->draw_drawable_with_src = gdk_offscreen_window_draw_drawable; } |