X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/5944f3d64f5675df6eb8bd82ab45cc5ad31504a7..6be651088b8e49c16b04caf8031c132e858a0ee9:/src/uobject.c diff --git a/src/uobject.c b/src/uobject.c index a52a3ef..5d47330 100644 --- a/src/uobject.c +++ b/src/uobject.c @@ -178,7 +178,7 @@ static int deserialize(UObject *o, struct upkg_file *f) int u_object_deserialize(GObject *obj, struct upkg_file *f) { g_return_val_if_fail(IS_U_OBJECT(obj), -1); - U_OBJECT_GET_CLASS(obj)->deserialize(U_OBJECT(obj), f); + return U_OBJECT_GET_CLASS(obj)->deserialize(U_OBJECT(obj), f); } static void u_object_init(UObject *o)