[gtk+/rendering-cleanup: 37/140] 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/140] API: Remove gdk_window_clear_area_e()
- Date: Sun, 29 Aug 2010 16:06:34 +0000 (UTC)
commit 43ed386dab558ea59df4bb164d8f420095adff25
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 a8e5e13..d934742 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 b8909df..9ebfdf5 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 b90c366..32c642d 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 20905de..f6700c3 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -536,11 +536,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]