projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5e8ff
)
Correctly ref repository in GIUnresolvedInfo
author
Colin Walters
<walters@verbum.org>
Fri, 4 Sep 2009 21:02:14 +0000
(17:02 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 4 Sep 2009 21:02:14 +0000
(17:02 -0400)
Followup to previous patch.
girepository/ginfo.c
patch
|
blob
|
history
diff --git
a/girepository/ginfo.c
b/girepository/ginfo.c
index
19723dd
..
eef3cd6
100644
(file)
--- a/
girepository/ginfo.c
+++ b/
girepository/ginfo.c
@@
-203,7
+203,7
@@
g_info_from_entry (GIRepository *repository,
unresolved->type = GI_INFO_TYPE_UNRESOLVED;
unresolved->ref_count = 1;
- unresolved->repository =
repository
;
+ unresolved->repository =
g_object_ref (repository)
;
unresolved->container = NULL;
unresolved->name = name;
unresolved->namespace = namespace;