Make GInterfaceInfo paramter const to correspond to the conventions for

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)
This commit is contained in:
Owen Taylor
2002-02-25 03:15:25 +00:00
committed by Owen Taylor
parent 657d78b87e
commit 56377271ef
3 changed files with 15 additions and 8 deletions

View 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> Sat Feb 23 13:28:56 2002 Owen Taylor <otaylor@redhat.com>
* gtypeplugin.h (struct _GTypePluginClass): Add some * gtypeplugin.h (struct _GTypePluginClass): Add some

View File

@@ -399,7 +399,7 @@ void
g_type_module_add_interface (GTypeModule *module, g_type_module_add_interface (GTypeModule *module,
GType instance_type, GType instance_type,
GType interface_type, GType interface_type,
GInterfaceInfo *interface_info) const GInterfaceInfo *interface_info)
{ {
ModuleInterfaceInfo *module_interface_info = NULL; ModuleInterfaceInfo *module_interface_info = NULL;

View File

@@ -74,7 +74,7 @@ GType g_type_module_register_type (GTypeModule *module,
void g_type_module_add_interface (GTypeModule *module, void g_type_module_add_interface (GTypeModule *module,
GType instance_type, GType instance_type,
GType interface_type, GType interface_type,
GInterfaceInfo *interface_info); const GInterfaceInfo *interface_info);
G_END_DECLS G_END_DECLS