Browse Source

(events_init): make standard_events const.

Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
Andrew V. Samoilov 7 years ago
parent
commit
b207798426
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/events_init.c

+ 1 - 1
src/events_init.c

@@ -58,7 +58,7 @@ gboolean
 events_init (GError ** mcerror)
 {
     /* *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_from_ext_clip", clipboard_file_from_ext_clip, NULL},