From 15486fda75169665c3fc5831866e5a42e4ab2585 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Thu, 28 Jun 2012 17:26:52 -0400 Subject: [PATCH] gdk: Delete the commented out Window.ClearArea method All the gdk_window_clear* methods were removed in GTK+ 3.0, so we can remove the custom code that was ifdef'd out in the initial port. --- gdk/Window.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gdk/Window.cs b/gdk/Window.cs index 8ff699e86..a5d778131 100644 --- a/gdk/Window.cs +++ b/gdk/Window.cs @@ -97,15 +97,6 @@ namespace Gdk { gdk_window_move_resize (Handle, rect.X, rect.Y, rect.Width, rect.Height); } -#if FIXME30 - public void ClearArea (Gdk.Rectangle rect, bool expose) { - if (expose) - gdk_window_clear_area_e (Handle, rect.X, rect.Y, rect.Width, rect.Height); - else - gdk_window_clear_area (Handle, rect.X, rect.Y, rect.Width, rect.Height); - } -#endif - [DllImport ("libgdk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gdk_window_get_user_data (IntPtr raw, out IntPtr data);