Commit de1e169e authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

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.
parent 5fed4b4a
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.
......
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.
......
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.
......
......@@ -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));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment