(events_init): make standard_events const.

Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
This commit is contained in:
Andrew V. Samoilov 2018-01-12 02:15:33 +02:00 committed by Andrew Borodin
parent 6f6c676776
commit b207798426

View File

@ -58,7 +58,7 @@ gboolean
events_init (GError ** mcerror) events_init (GError ** mcerror)
{ {
/* *INDENT-OFF* */ /* *INDENT-OFF* */
event_init_t standard_events[] = static const event_init_t standard_events[] =
{ {
{MCEVENT_GROUP_CORE, "clipboard_file_to_ext_clip", clipboard_file_to_ext_clip, NULL}, {MCEVENT_GROUP_CORE, "clipboard_file_to_ext_clip", clipboard_file_to_ext_clip, NULL},
{MCEVENT_GROUP_CORE, "clipboard_file_from_ext_clip", clipboard_file_from_ext_clip, NULL}, {MCEVENT_GROUP_CORE, "clipboard_file_from_ext_clip", clipboard_file_from_ext_clip, NULL},