]> git.draconx.ca Git - upkg.git/commitdiff
upkg: Don't unref packages, since gobject does not allow this.
authorNick Bowler <nbowler@draconx.ca>
Thu, 10 Dec 2009 04:32:07 +0000 (23:32 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 31 Jan 2010 21:59:23 +0000 (16:59 -0500)
src/upkg.c

index d3a946b2fada97e2f3f649c25a89f5af0bbdcfa5..f7ace2a7763fa21e4556b5d552bb4bc7f577937d 100644 (file)
@@ -353,7 +353,7 @@ int main(int argc, char **argv)
                break;
        }
 
-       g_object_unref(pkg);
+       g_type_module_unuse(pkg);
        u_object_module_exit();
        u_pkg_vfs_exit();
        return rc;