mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
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:
parent
36adc08bfd
commit
018604c83c
@ -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>
|
||||
|
||||
* gsignal.c: When printing errors, handle NULL
|
||||
|
@ -298,7 +298,7 @@ g_type_module_complete_interface_info (GTypePlugin *plugin,
|
||||
GInterfaceInfo *info)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
@ -45,8 +45,8 @@ typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
|
||||
GTypeInfo *info,
|
||||
GTypeValueTable *value_table);
|
||||
typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
|
||||
GType interface_type,
|
||||
GType instance_type,
|
||||
GType interface_type,
|
||||
GInterfaceInfo *info);
|
||||
struct _GTypePluginClass
|
||||
{
|
||||
@ -68,8 +68,8 @@ void g_type_plugin_complete_type_info (GTypePlugin *plugin,
|
||||
GTypeInfo *info,
|
||||
GTypeValueTable *value_table);
|
||||
void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
|
||||
GType interface_type,
|
||||
GType instance_type,
|
||||
GType interface_type,
|
||||
GInterfaceInfo *info);
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user