summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-07 17:40:11 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:39:49 +0200
commit2eb26d68f67dc3b03cea883567fbeaeee82ca048 (patch)
tree1fba02865c9b98f175450cee4fb5402b74a7487b
parent304f36b587ebf68b89da3e06185a006124c76b39 (diff)
downloadgtk+-2eb26d68f67dc3b03cea883567fbeaeee82ca048.tar.gz
Remove deprecated function from GtkDrawingArea
-rw-r--r--gtk/gtkdrawingarea.c13
-rw-r--r--gtk/gtkdrawingarea.h7
2 files changed, 0 insertions, 20 deletions
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c
index fa7d8b44b6..0ac5952f2d 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 3984940140..7208d7ab59 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__ */