Fix argument order. Fixes #82806.

2002-06-11  Anders Carlsson  <andersca@gnu.org>

	* gtypemodule.c: (g_type_module_complete_interface_info):
	* gtypeplugin.h:
	Fix argument order. Fixes #82806.
This commit is contained in:
Anders Carlsson 2002-06-11 21:44:35 +00:00 committed by Anders Carlsson
parent 36adc08bfd
commit 018604c83c
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-06-11 Anders Carlsson <andersca@gnu.org>
* gtypemodule.c: (g_type_module_complete_interface_info):
* gtypeplugin.h:
Fix argument order. Fixes #82806.
Mon May 20 15:57:47 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:57:47 2002 Owen Taylor <otaylor@redhat.com>
* gsignal.c: When printing errors, handle NULL * gsignal.c: When printing errors, handle NULL

View File

@ -298,7 +298,7 @@ g_type_module_complete_interface_info (GTypePlugin *plugin,
GInterfaceInfo *info) GInterfaceInfo *info)
{ {
GTypeModule *module = G_TYPE_MODULE (plugin); GTypeModule *module = G_TYPE_MODULE (plugin);
ModuleInterfaceInfo *module_interface_info = g_type_module_find_interface_info (module, interface_type, instance_type); ModuleInterfaceInfo *module_interface_info = g_type_module_find_interface_info (module, instance_type, interface_type);
*info = module_interface_info->info; *info = module_interface_info->info;
} }

View File

@ -45,8 +45,8 @@ typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
GTypeInfo *info, GTypeInfo *info,
GTypeValueTable *value_table); GTypeValueTable *value_table);
typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin, typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
GType interface_type,
GType instance_type, GType instance_type,
GType interface_type,
GInterfaceInfo *info); GInterfaceInfo *info);
struct _GTypePluginClass struct _GTypePluginClass
{ {
@ -68,8 +68,8 @@ void g_type_plugin_complete_type_info (GTypePlugin *plugin,
GTypeInfo *info, GTypeInfo *info,
GTypeValueTable *value_table); GTypeValueTable *value_table);
void g_type_plugin_complete_interface_info (GTypePlugin *plugin, void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
GType interface_type,
GType instance_type, GType instance_type,
GType interface_type,
GInterfaceInfo *info); GInterfaceInfo *info);
G_END_DECLS G_END_DECLS