X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/aa72d53735c595550e417882b9aa8d1473b9b57c..007a739d8b37ab00b749e72301f09f44e1c1cdeb:/src/uobject/uobject.h diff --git a/src/uobject/uobject.h b/src/uobject/uobject.h index e0b2256..00f742b 100644 --- a/src/uobject/uobject.h +++ b/src/uobject/uobject.h @@ -41,7 +41,7 @@ typedef struct UObjectClass UObjectClass; struct UObject { GObject parent; - struct upkg *pkg; + GTypeModule *pkg; struct upkg_file *pkg_file; char *pkg_name; }; @@ -54,9 +54,9 @@ struct UObjectClass { GType u_object_get_type(void); -int u_object_deserialize(GObject *obj, struct upkg *pkg, unsigned long idx); +int u_object_deserialize(GObject *obj, GTypeModule *pkg, unsigned long idx); -GObject *u_object_new_from_package(struct upkg *pkg, unsigned long idx); +GObject *u_object_new_from_package(GTypeModule *pkg, unsigned long idx); /* Logging helpers for UObject class implementations. */ void u_vlog_full(GObject *o, GLogLevelFlags level, const char *fmt, va_list ap);