summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-channel-bar.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-10-03 11:25:43 +0200
committerraveit65 <[email protected]>2023-10-05 11:54:26 +0200
commit0c06fb5f7caf8bcdbbf0dc54f856d9099081b0ba (patch)
treee459baaf52980ad32c6204946a1426b4814e237b /mate-volume-control/gvc-channel-bar.c
parentcb6f36c8ca31e3b714b651c3c2358e8091fa2eae (diff)
downloadmate-media-0c06fb5f7caf8bcdbbf0dc54f856d9099081b0ba.tar.bz2
mate-media-0c06fb5f7caf8bcdbbf0dc54f856d9099081b0ba.tar.xz
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.
Diffstat (limited to 'mate-volume-control/gvc-channel-bar.c')
-rw-r--r--mate-volume-control/gvc-channel-bar.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/param.h>
#include <glib.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <glib-object.h>
#include <gtk/gtk.h>