- static GType acr_type = 0;
-
- if (!acr_type)
- {
- static const GTypeInfo acr_info =
- {
- sizeof (PsppireAcrClass),
- NULL, /* base_init */
- NULL, /* base_finalize */
- NULL, /* class_init */
- NULL, /* class_finalize */
- NULL, /* class_data */
- sizeof (PsppireAcr),
- 0,
- (GInstanceInitFunc) psppire_acr_init,
- };
-
- acr_type = g_type_register_static (GTK_TYPE_HBOX, "PsppireAcr",
- &acr_info, 0);
- }
+ PsppireAcr *acr = PSPPIRE_ACR (obj);
+ psppire_acr_set_model (acr, NULL);