Commit 780e6d7e authored by Raja R Harinath's avatar Raja R Harinath

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")
parent 685733cf
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().
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment