Commit 7b42d4fe authored by Benjamin Otte's avatar Benjamin Otte

spinner: Don't inherit from drawing area

A drawing area is not meant to be subclassed from. It also doesn't
provide any feature a spinner would need either.
parent 032d3f0a
......@@ -93,7 +93,7 @@ static AtkObject *gtk_spinner_get_accessible (GtkWidget *widget);
static GType gtk_spinner_accessible_get_type (void);
static void gtk_spinner_size_request_init (GtkSizeRequestIface *iface);
G_DEFINE_TYPE_WITH_CODE (GtkSpinner, gtk_spinner, GTK_TYPE_DRAWING_AREA,
G_DEFINE_TYPE_WITH_CODE (GtkSpinner, gtk_spinner, GTK_TYPE_WIDGET,
G_IMPLEMENT_INTERFACE (GTK_TYPE_SIZE_REQUEST,
gtk_spinner_size_request_init))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment