Fix argument order. Fixes #82806.
authorAnders Carlsson <andersca@gnu.org>
Tue, 11 Jun 2002 21:44:35 +0000 (21:44 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Tue, 11 Jun 2002 21:44:35 +0000 (21:44 +0000)
2002-06-11  Anders Carlsson  <andersca@gnu.org>

* gtypemodule.c: (g_type_module_complete_interface_info):
* gtypeplugin.h:
Fix argument order. Fixes #82806.

gobject/ChangeLog
gobject/gtypemodule.c
gobject/gtypeplugin.h

index 657a3fe4a833082de1f2f021c6991714950cc91a..c77e6ab3b379555b4459291387542251db72ba21 100644 (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>
 
        * gsignal.c: When printing errors, handle NULL
index 1b604f91fcae12afb70060f11f5a180613545fc9..200795247fb6d85770f477fd97f7fd034685d921 100644 (file)
@@ -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;
 }
index 463f3a16eceb3f357d687048440a58090fe26ec4..415259ad247027d13db58ba755f856bd643df776 100644 (file)
@@ -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