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:
committed by
Manish Singh
parent
5fed4b4afd
commit
de1e169e44
@ -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>
|
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
||||||
|
|||||||
@ -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>
|
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
||||||
|
|||||||
@ -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>
|
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
* gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
|
||||||
|
|||||||
@ -347,8 +347,8 @@ virtual_atom_check_init (void)
|
|||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (XAtomsStrings); i++)
|
for (i = 0; i < G_N_ELEMENTS (XAtomsStrings); i++)
|
||||||
{
|
{
|
||||||
g_ptr_array_add (virtual_atom_array, XAtomsStrings[i]);
|
g_ptr_array_add (virtual_atom_array, (gchar *) XAtomsStrings[i]);
|
||||||
g_hash_table_insert (virtual_atom_hash, XAtomsStrings[i],
|
g_hash_table_insert (virtual_atom_hash, (gchar *) XAtomsStrings[i],
|
||||||
GUINT_TO_POINTER (i));
|
GUINT_TO_POINTER (i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user