From: Benjamin Otte Date: Sun, 15 Aug 2010 01:11:01 +0000 (+0200) Subject: API: Remove gdk_window_clear_area_e() X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=6ab793da8db83895c2bd174fd6b9f083ad64d245;p=~andy%2Fgtk API: Remove gdk_window_clear_area_e() Awesome name for a function. Plus, it's unused and its functionality can easily be replicated. --- diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt index f04d698d1..1beaca34e 100644 --- a/docs/reference/gdk/gdk3-sections.txt +++ b/docs/reference/gdk/gdk3-sections.txt @@ -424,7 +424,6 @@ gdk_window_ensure_native gdk_window_reparent gdk_window_clear gdk_window_clear_area -gdk_window_clear_area_e gdk_window_raise gdk_window_lower gdk_window_restack diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols index e694ee28c..d8c619dc3 100644 --- a/gdk/gdk.symbols +++ b/gdk/gdk.symbols @@ -610,7 +610,6 @@ gdk_window_begin_paint_rect gdk_window_begin_paint_region gdk_window_clear gdk_window_clear_area -gdk_window_clear_area_e gdk_window_constrain_size gdk_window_coords_from_parent gdk_window_coords_to_parent diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 8ac96356a..6b21d650b 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3933,34 +3933,6 @@ gdk_window_clear_area (GdkWindow *window, FALSE); } -/** - * gdk_window_clear_area_e: - * @window: a #GdkWindow - * @x: x coordinate of rectangle to clear - * @y: y coordinate of rectangle to clear - * @width: width of rectangle to clear - * @height: height of rectangle to clear - * - * Like gdk_window_clear_area(), but also generates an expose event for - * the cleared area. - * - * This function has a stupid name because it dates back to the mists - * time, pre-GDK-1.0. - * - **/ -void -gdk_window_clear_area_e (GdkWindow *window, - gint x, - gint y, - gint width, - gint height) -{ - gdk_window_clear_area_internal (window, - x, y, - width, height, - TRUE); -} - static void gdk_window_real_get_size (GdkDrawable *drawable, gint *width, diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 6e44defd2..05941d4f4 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -534,11 +534,6 @@ void gdk_window_clear_area (GdkWindow *window, gint y, gint width, gint height); -void gdk_window_clear_area_e (GdkWindow *window, - gint x, - gint y, - gint width, - gint height); void gdk_window_raise (GdkWindow *window); void gdk_window_lower (GdkWindow *window); void gdk_window_restack (GdkWindow *window,