};
if (type == 0) {
- type = g_type_register_static (G_TYPE_OBJECT,
+ type = g_type_register_static (G_TYPE_INITIALLY_UNOWNED,
"IBusObject",
&type_info,
G_TYPE_FLAG_ABSTRACT);
* private to the #IBusObject and should never be accessed directly.
*/
struct _IBusObject {
- GObject parent;
+ GInitiallyUnowned parent;
/* instance members */
guint32 flags;
};
typedef void ( *IBusObjectDestroyFunc) (IBusObject *);
struct _IBusObjectClass {
- GObjectClass parent;
+ GInitiallyUnownedClass parent;
/* signals */
void (* destroy) (IBusObject *object);