pbutils: Fix compilation of last commit
authorSebastian Dröge <sebastian@centricular.com>
Mon, 26 Feb 2018 09:55:46 +0000 (11:55 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 26 Feb 2018 09:55:46 +0000 (11:55 +0200)
gst-libs/gst/pbutils/encoding-target.c
gst-libs/gst/pbutils/pbutils.c

index 9497d14..3de4ac5 100644 (file)
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <string.h>
 #include "encoding-target.h"
+#include "pbutils-private.h"
 
 /* Documented in encoding-profile.c */
 
index b75c2fa..1a081ee 100644 (file)
 #endif
 
 #include "pbutils.h"
+#include "pbutils-private.h"
 
 #include "gst/gst-i18n-plugin.h"
 
-static void
-_init_locale_text_domain (void)
+static gpointer
+_init_locale_text_domain (gpointer data)
 {
 #ifdef ENABLE_NLS
   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);
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 #endif
+
+  return NULL;
 }
 
 void