[gtk+/rendering-cleanup: 37/144] API: Remove gdk_window_clear_area_e()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 37/144] API: Remove gdk_window_clear_area_e()
- Date: Thu, 23 Sep 2010 21:20:29 +0000 (UTC)
commit 7c3f3758fdea1bc4b698c4b5d11f5945f3d51380
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 f04d698..1beaca3 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 e694ee2..d8c619d 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 8ac9635..6b21d65 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 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]