Remove deprecated function from GtkDrawingArea

This commit is contained in:
Christian Dywan 2009-10-07 17:40:11 +02:00 committed by Javier Jardón
parent 304f36b587
commit 2eb26d68f6
2 changed files with 0 additions and 20 deletions

View File

@ -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)
{

View File

@ -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__ */