diff options
Diffstat (limited to 'gdk/x11/gdkproperty-x11.c')
-rw-r--r-- | gdk/x11/gdkproperty-x11.c | 4 |
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)); } } |