mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
Do not assign the parent class twice
G_DEFINE_TYPE already does this for us, no need to do it again in class_init https://bugzilla.gnome.org/show_bug.cgi?id=598515
This commit is contained in:
parent
10a53ff12e
commit
009f160709
@ -102,8 +102,6 @@ gtk_spinner_class_init (GtkSpinnerClass *klass)
|
||||
GObjectClass *gobject_class;
|
||||
GtkWidgetClass *widget_class;
|
||||
|
||||
gtk_spinner_parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class = G_OBJECT_CLASS(klass);
|
||||
g_type_class_add_private (gobject_class, sizeof (GtkSpinnerPrivate));
|
||||
gobject_class->dispose = gtk_spinner_dispose;
|
||||
|
Loading…
Reference in New Issue
Block a user