diff options
author | Tommi Komulainen <tko@src.gnome.org> | 2008-10-27 10:02:01 +0000 |
---|---|---|
committer | Tommi Komulainen <tko@src.gnome.org> | 2008-10-27 10:02:01 +0000 |
commit | 0f0f0e4312a8cd3bbeed82fd33908a3b6e9eb422 (patch) | |
tree | 089325e3fb0a4e0ff0a6bddecfe498ca14b58214 /tests/repository | |
parent | eeafb44f21503002e780511daf12727b0e812755 (diff) | |
download | gobject-introspection-0f0f0e4312a8cd3bbeed82fd33908a3b6e9eb422.tar.gz |
g_irepository_require() returns GTypelib now, fix warning
svn path=/trunk/; revision=817
Diffstat (limited to 'tests/repository')
-rw-r--r-- | tests/repository/gitestthrows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/repository/gitestthrows.c b/tests/repository/gitestthrows.c index 3b12cabf..9bc7ec10 100644 --- a/tests/repository/gitestthrows.c +++ b/tests/repository/gitestthrows.c @@ -9,7 +9,7 @@ int main(int argc, char **argv) { GIRepository *repo; - gboolean ret; + GTypelib *ret; GIBaseInfo *info; char *girdir; GArgument in_arg[1]; @@ -27,7 +27,7 @@ main(int argc, char **argv) error = NULL; ret = g_irepository_require (repo, "GLib", NULL, 0, &error); - g_assert (ret); + g_assert (ret != NULL); g_assert (error == NULL); info = g_irepository_find_by_name (repo, "GLib", "file_read_link"); |