[gtk+/rendering-cleanup: 37/142] API: Remove gdk_window_clear_area_e()



commit 7371302d7fc833f9000c1894168b7f9ff229032c
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 15 03:11:01 2010 +0200

    API: Remove gdk_window_clear_area_e()
    
    Awesome name for a function. Plus, it's unused and its functionality can
    easily be replicated.

 docs/reference/gdk/gdk3-sections.txt |    1 -
 gdk/gdk.symbols                      |    1 -
 gdk/gdkwindow.c                      |   28 ----------------------------
 gdk/gdkwindow.h                      |    5 -----
 4 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 0e99142..1fbc777 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -423,7 +423,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 0f20b79..5866661 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -609,7 +609,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 9cd9311..6c0e175 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3930,34 +3930,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 6e44def..05941d4 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]