diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-06 18:54:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-06 18:54:13 +0200 |
commit | f1d2bf84089b1e5b5988a5e5d6d571a507a52337 (patch) | |
tree | d0035238b8cd08ab487dbb85f89ed129bd9b2509 /src/pulse/mainloop-signal.c | |
parent | c4a953dc963fc8522b5ccdc35884fedafad1febe (diff) |
add i18n support
Diffstat (limited to 'src/pulse/mainloop-signal.c')
-rw-r--r-- | src/pulse/mainloop-signal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/mainloop-signal.c b/src/pulse/mainloop-signal.c index 9161dec4..e95968ae 100644 --- a/src/pulse/mainloop-signal.c +++ b/src/pulse/mainloop-signal.c @@ -38,6 +38,7 @@ #include <pulse/xmalloc.h> #include <pulse/gccmacro.h> +#include <pulse/i18n.h> #include <pulsecore/core-error.h> #include <pulsecore/core-util.h> @@ -165,6 +166,8 @@ pa_signal_event* pa_signal_new(int sig, pa_signal_cb_t _callback, void *userdata pa_assert(sig > 0); pa_assert(_callback); + pa_init_i18n(); + for (e = signals; e; e = e->next) if (e->sig == sig) goto fail; |