mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
Remove deprecated function from GtkDrawingArea
This commit is contained in:
parent
304f36b587
commit
2eb26d68f6
@ -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)
|
||||
{
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user