pbutils: Fix compilation of last commit

This commit is contained in:
Sebastian Dröge 2018-02-26 11:55:46 +02:00
parent 006c7181ed
commit 783e450a60
2 changed files with 6 additions and 2 deletions

View file

@ -26,6 +26,7 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include "encoding-target.h" #include "encoding-target.h"
#include "pbutils-private.h"
/* Documented in encoding-profile.c */ /* Documented in encoding-profile.c */

View file

@ -57,11 +57,12 @@
#endif #endif
#include "pbutils.h" #include "pbutils.h"
#include "pbutils-private.h"
#include "gst/gst-i18n-plugin.h" #include "gst/gst-i18n-plugin.h"
static void static gpointer
_init_locale_text_domain (void) _init_locale_text_domain (gpointer data)
{ {
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
@ -69,6 +70,8 @@ _init_locale_text_domain (void)
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif #endif
return NULL;
} }
void void