From 783e450a60c427664041fbaee85f255478409250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Feb 2018 11:55:46 +0200 Subject: [PATCH] pbutils: Fix compilation of last commit --- gst-libs/gst/pbutils/encoding-target.c | 1 + gst-libs/gst/pbutils/pbutils.c | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/pbutils/encoding-target.c b/gst-libs/gst/pbutils/encoding-target.c index 9497d14461..3de4ac57ea 100644 --- a/gst-libs/gst/pbutils/encoding-target.c +++ b/gst-libs/gst/pbutils/encoding-target.c @@ -26,6 +26,7 @@ #include #include #include "encoding-target.h" +#include "pbutils-private.h" /* Documented in encoding-profile.c */ diff --git a/gst-libs/gst/pbutils/pbutils.c b/gst-libs/gst/pbutils/pbutils.c index b75c2faf4b..1a081ee317 100644 --- a/gst-libs/gst/pbutils/pbutils.c +++ b/gst-libs/gst/pbutils/pbutils.c @@ -57,11 +57,12 @@ #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