summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-03-01 22:25:42 +0000
committerManish Singh <yosh@src.gnome.org>2005-03-01 22:25:42 +0000
commitde1e169e44b200fa4ac6d2848014056c6efe37e7 (patch)
tree448307699d884dd9634087ef37c70ccbe0a2257a /gdk
parent5fed4b4afd515c81022e0357f5e01240327c170b (diff)
downloadgtk+-de1e169e44b200fa4ac6d2848014056c6efe37e7.tar.gz
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.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkproperty-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index 6ab6c2c626..dba6a080e7 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -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));
}
}