aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-17 15:19:26 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-17 15:19:26 +0000
commit4f18ab234a9ace138eade48a7a548fd8fa596eec (patch)
tree3c8494811d338d187b803fecc1377b13ffd1664e /src/sound-service.c
parent199f4347737b70c3f192f8a3007a4278b85faf89 (diff)
downloadayatana-indicator-sound-4f18ab234a9ace138eade48a7a548fd8fa596eec.tar.gz
ayatana-indicator-sound-4f18ab234a9ace138eade48a7a548fd8fa596eec.tar.bz2
ayatana-indicator-sound-4f18ab234a9ace138eade48a7a548fd8fa596eec.zip
revert to the old way
Diffstat (limited to 'src/sound-service.c')
-rw-r--r--src/sound-service.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sound-service.c b/src/sound-service.c
index cfc0b7e..051e03e 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -51,11 +51,12 @@ main:
int
main (int argc, char ** argv)
{
+
g_type_init();
-
- setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
textdomain (GETTEXT_PACKAGE);
+ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bind_text_domain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ setlocale (LC_ALL, "");
IndicatorService *service = indicator_service_new_version(INDICATOR_SOUND_DBUS_NAME,
INDICATOR_SOUND_DBUS_VERSION);