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>
* gtypeplugin.h (struct _GTypePluginClass): Add some

View 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;

View 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