Make GInterfaceInfo paramter const to correspond to the conventions for
authorOwen Taylor <otaylor@redhat.com>
Mon, 25 Feb 2002 03:15:25 +0000 (03:15 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 25 Feb 2002 03:15:25 +0000 (03:15 +0000)
Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtypemodule.[ch] (g_type_module_add_interface): Make
        GInterfaceInfo paramter const to correspond to the
        conventions for the g_type_add_interface() functions.
        (#72461, Miroslaw Dobrzanski-Neumann)

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

index 8486ab3e8d0fc8d5233f397e9fc1adddd94f06ac..f90f063cc32d2efc97fd9f05b94a4642245e471a 100644 (file)
@@ -1,3 +1,10 @@
+Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtypemodule.[ch] (g_type_module_add_interface): Make
+       GInterfaceInfo paramter const to correspond to the
+       conventions for the g_type_add_interface() functions.
+       (#72461, Miroslaw Dobrzanski-Neumann)
+
 Sat Feb 23 13:28:56 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtypeplugin.h (struct _GTypePluginClass): Add some
index dbb66bd74e9343e473147f715eff79871c56096c..1b604f91fcae12afb70060f11f5a180613545fc9 100644 (file)
@@ -396,10 +396,10 @@ g_type_module_register_type (GTypeModule     *module,
  * not be unloaded.
  **/
 void
-g_type_module_add_interface (GTypeModule    *module,
-                            GType           instance_type,
-                            GType           interface_type,
-                            GInterfaceInfo *interface_info)
+g_type_module_add_interface (GTypeModule          *module,
+                            GType                 instance_type,
+                            GType                 interface_type,
+                            const GInterfaceInfo *interface_info)
 {
   ModuleInterfaceInfo *module_interface_info = NULL;
   
index 11aed5d3b78b57e5610cee9317991f48f0aa91db..1edce7183058ae8c5fb8a26a67cd57e0c7866d22 100644 (file)
@@ -71,10 +71,10 @@ GType    g_type_module_register_type (GTypeModule     *module,
                                      const gchar     *type_name,
                                      const GTypeInfo *type_info,
                                      GTypeFlags       flags);
-void     g_type_module_add_interface (GTypeModule     *module,
-                                     GType            instance_type,
-                                     GType            interface_type,
-                                     GInterfaceInfo  *interface_info);
+void     g_type_module_add_interface (GTypeModule           *module,
+                                     GType                  instance_type,
+                                     GType                  interface_type,
+                                     const GInterfaceInfo  *interface_info);
 
 G_END_DECLS