From 018604c83cedf1400c7f70f3e8a8b960af94f959 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Tue, 11 Jun 2002 21:44:35 +0000 Subject: [PATCH] Fix argument order. Fixes #82806. 2002-06-11 Anders Carlsson * gtypemodule.c: (g_type_module_complete_interface_info): * gtypeplugin.h: Fix argument order. Fixes #82806. --- gobject/ChangeLog | 6 ++++++ gobject/gtypemodule.c | 2 +- gobject/gtypeplugin.h | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 657a3fe..c77e6ab 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,9 @@ +2002-06-11 Anders Carlsson + + * gtypemodule.c: (g_type_module_complete_interface_info): + * gtypeplugin.h: + Fix argument order. Fixes #82806. + Mon May 20 15:57:47 2002 Owen Taylor * gsignal.c: When printing errors, handle NULL diff --git a/gobject/gtypemodule.c b/gobject/gtypemodule.c index 1b604f9..2007952 100644 --- a/gobject/gtypemodule.c +++ b/gobject/gtypemodule.c @@ -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; } diff --git a/gobject/gtypeplugin.h b/gobject/gtypeplugin.h index 463f3a1..415259a 100644 --- a/gobject/gtypeplugin.h +++ b/gobject/gtypeplugin.h @@ -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 -- 2.7.4