mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
(mc_event_mass_add): make events const.
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
This commit is contained in:
parent
af466458b7
commit
6f6c676776
@ -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);
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user