gobject-introspection r817 - trunk/tests/repository
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r817 - trunk/tests/repository
- Date: Mon, 27 Oct 2008 10:02:01 +0000 (UTC)
Author: tko
Date: Mon Oct 27 10:02:01 2008
New Revision: 817
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=817&view=rev
Log:
g_irepository_require() returns GTypelib now, fix warning
Modified:
trunk/tests/repository/gitestthrows.c
Modified: trunk/tests/repository/gitestthrows.c
==============================================================================
--- trunk/tests/repository/gitestthrows.c (original)
+++ trunk/tests/repository/gitestthrows.c Mon Oct 27 10:02:01 2008
@@ -9,7 +9,7 @@
main(int argc, char **argv)
{
GIRepository *repo;
- gboolean ret;
+ GTypelib *ret;
GIBaseInfo *info;
char *girdir;
GArgument in_arg[1];
@@ -27,7 +27,7 @@
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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]