mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
685733cf0d
commit
780e6d7e23
@ -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().
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user