(mc_event_mass_add): make 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 af466458b7
commit 6f6c676776
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ void mc_event_del (const gchar *, const gchar *, mc_event_callback_func_t, gpoin
void mc_event_destroy (const gchar *, const gchar *); void mc_event_destroy (const gchar *, const gchar *);
void mc_event_group_del (const gchar *); void mc_event_group_del (const gchar *);
gboolean mc_event_present (const gchar *, const gchar *); gboolean mc_event_present (const gchar *, const gchar *);
gboolean mc_event_mass_add (event_init_t *, GError **); gboolean mc_event_mass_add (const event_init_t *, GError **);
/* raise.c: */ /* raise.c: */
gboolean mc_event_raise (const gchar *, const gchar *, gpointer); gboolean mc_event_raise (const gchar *, const gchar *, gpointer);

View File

@ -92,7 +92,7 @@ mc_event_deinit (GError ** mcerror)
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
gboolean gboolean
mc_event_mass_add (event_init_t * events, GError ** mcerror) mc_event_mass_add (const event_init_t * events, GError ** mcerror)
{ {
size_t array_index; size_t array_index;