Cast to avoid const warnings on data structure seeding.

Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
        const warnings on data structure seeding.
This commit is contained in:
Manish Singh 2005-03-01 22:25:42 +00:00 committed by Manish Singh
parent 5fed4b4afd
commit de1e169e44
4 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
const warnings on data structure seeding.
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.

View File

@ -1,3 +1,8 @@
Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
const warnings on data structure seeding.
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.

View File

@ -1,3 +1,8 @@
Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
const warnings on data structure seeding.
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.

View File

@ -347,8 +347,8 @@ virtual_atom_check_init (void)
for (i = 0; i < G_N_ELEMENTS (XAtomsStrings); i++)
{
g_ptr_array_add (virtual_atom_array, XAtomsStrings[i]);
g_hash_table_insert (virtual_atom_hash, XAtomsStrings[i],
g_ptr_array_add (virtual_atom_array, (gchar *) XAtomsStrings[i]);
g_hash_table_insert (virtual_atom_hash, (gchar *) XAtomsStrings[i],
GUINT_TO_POINTER (i));
}
}