Don't return just 0 or 1.

* gtype.c (g_type_get_plugin): Don't return just 0 or 1.

(Committing because "obvious bug fix")
This commit is contained in:
Raja R Harinath 2000-07-11 20:28:14 +00:00
parent 685733cf0d
commit 780e6d7e23
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-07-11 Raja R Harinath <harinath@cs.umn.edu>
* gtype.c (g_type_get_plugin): Don't return just 0 or 1.
Tue Jul 11 02:48:13 2000 Tim Janik <timj@gtk.org>
* gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().

View File

@ -1860,7 +1860,7 @@ g_type_get_plugin (GType type)
{
TypeNode *node = LOOKUP_TYPE_NODE (type);
return node && node->plugin;
return node ? node->plugin : NULL;
}
gboolean