aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-03 17:26:02 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-03 17:26:02 -0700
commitd9445f04b13c1d1523cd152cfb1d163702e66c14 (patch)
treec4ab9cca04433a1c6eaa2e3fff076b7cdda2565b /event.h
parent1543d02f96bdf96a067e96742577ea740dda4d89 (diff)
Use the new input_common_add_callback mechanism to not execute callbacks while signals are blocked. Should fix https://github.com/fish-shell/fish-shell/issues/608
Diffstat (limited to 'event.h')
-rw-r--r--event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.h b/event.h
index 5f7c8080..73db7351 100644
--- a/event.h
+++ b/event.h
@@ -144,7 +144,7 @@ bool event_is_signal_observed(int signal);
\param event the specific event whose handlers should fire. If
null, then all delayed events will be fired.
*/
-void event_fire(event_t *event);
+void event_fire(const event_t *event);
/** Like event_fire, but takes a signal directly. */
void event_fire_signal(int signal);