[gtk+/gtk-2-90: 5/200] Remove deprecated function from GtkDrawingArea
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 5/200] Remove deprecated function from GtkDrawingArea
- Date: Sun, 2 May 2010 23:57:02 +0000 (UTC)
commit 2eb26d68f67dc3b03cea883567fbeaeee82ca048
Author: Christian Dywan <christian twotoasts de>
Date: Wed Oct 7 17:40:11 2009 +0200
Remove deprecated function from GtkDrawingArea
gtk/gtkdrawingarea.c | 13 -------------
gtk/gtkdrawingarea.h | 7 -------
2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c
index fa7d8b4..0ac5952 100644
--- a/gtk/gtkdrawingarea.c
+++ b/gtk/gtkdrawingarea.c
@@ -59,19 +59,6 @@ gtk_drawing_area_new (void)
return g_object_new (GTK_TYPE_DRAWING_AREA, NULL);
}
-void
-gtk_drawing_area_size (GtkDrawingArea *darea,
- gint width,
- gint height)
-{
- g_return_if_fail (GTK_IS_DRAWING_AREA (darea));
-
- GTK_WIDGET (darea)->requisition.width = width;
- GTK_WIDGET (darea)->requisition.height = height;
-
- gtk_widget_queue_resize (GTK_WIDGET (darea));
-}
-
static void
gtk_drawing_area_realize (GtkWidget *widget)
{
diff --git a/gtk/gtkdrawingarea.h b/gtk/gtkdrawingarea.h
index 3984940..7208d7a 100644
--- a/gtk/gtkdrawingarea.h
+++ b/gtk/gtkdrawingarea.h
@@ -70,13 +70,6 @@ struct _GtkDrawingAreaClass
GType gtk_drawing_area_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_drawing_area_new (void);
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_drawing_area_size (GtkDrawingArea *darea,
- gint width,
- gint height);
-#endif /* GTK_DISABLE_DEPRECATED */
-
-
G_END_DECLS
#endif /* __GTK_DRAWING_AREA_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]