1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
--- a/commands.c
+++ b/commands.c
@@ -1753,7 +1753,7 @@ keyset_list_cb (widget, client_data, cal
}
keysym_name_buffer [j++] = 0;
}
- XawListChange (box->keysym_list, (const char **)keysym_name_buffer, 0, 0, True);
+ XawListChange (box->keysym_list, (char **)keysym_name_buffer, 0, 0, True);
}
@@ -2527,7 +2527,7 @@ keyboard_list_cb (widget, client_data, c
while (strcmp (keyboard_sets [i].type, keyboard_types [kbd]))
i++;
box->set = &keyboard_sets [i];
- XawListChange (box->keymap_list, (const char **) box->set->maps, 0, 0, True);
+ XawListChange (box->keymap_list, (char **) box->set->maps, 0, 0, True);
for (i = 0; i < box->set->map_count; i++)
{
char buf[255];
@@ -2598,7 +2598,7 @@ vendor_list_cb (widget, client_data, cal
free (s1);
}
- XawListChange (box->keyboard_list, (const char **)list, 0, 0, True);
+ XawListChange (box->keyboard_list, (char **)list, 0, 0, True);
XawListHighlight (box->keyboard_list, kbd);
lr->list_index = kbd;
|