From 0c06fb5f7caf8bcdbbf0dc54f856d9099081b0ba Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 3 Oct 2023 11:25:43 +0200 Subject: applet: Do not override the process' text domain When loaded as in-process applet, we must not call `textdomain()` or we will override mate-panel's text domain. Instead, properly use gi18n-lib.h header that provides the same API but uses the compile-time `GETTEXT_PACKAGE` value for each call. Actually drop the whole i18n setup logic that is provided already by mate-panel's factory macros. Fixes #203. --- mate-volume-control/gvc-channel-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-volume-control/gvc-channel-bar.c') diff --git a/mate-volume-control/gvc-channel-bar.c b/mate-volume-control/gvc-channel-bar.c index 89fa3a5..1f57098 100644 --- a/mate-volume-control/gvc-channel-bar.c +++ b/mate-volume-control/gvc-channel-bar.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include -- cgit v1.2.1