Commit c01188cb authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Wim Taymans
Browse files

The attached patch will make the inclusion of gettext.h unconditional in...

The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/gst-i18n-app.h:
* gst/gst-i18n-lib.h:
* tools/gst-inspect.c: (print_signal_info):
The attached patch will make the inclusion of gettext.h unconditional in
gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
libintl.h in tools/gst-inspect.c.
This allows use of --disable-nls again and fixes #344642.
parent c2491a1e
2006-07-03 Wim Taymans <wim@fluendo.com>
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/gst-i18n-app.h:
* gst/gst-i18n-lib.h:
* tools/gst-inspect.c: (print_signal_info):
The attached patch will make the inclusion of gettext.h unconditional in
gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
libintl.h in tools/gst-inspect.c.
This allows use of --disable-nls again and fixes #344642.
2006-07-03 Edward Hervey <edward@fluendo.com>
* gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
......
common @ dd173e27
Subproject commit a98b370bd49bc3f3225bbd9013cda5a53789f53d
Subproject commit dd173e2720ac21e4a47c97705d7ff32271a0ee66
......@@ -23,9 +23,10 @@
#ifndef __GST_I18N_APP_H__
#define __GST_I18N_APP_H__
#ifdef ENABLE_NLS
#include "gettext.h" /* included with gettext distribution and copied */
#ifdef ENABLE_NLS
/* we want to use shorthand _() for translating and N_() for marking */
#define _(String) gettext (String)
#define N_(String) gettext_noop (String)
......
......@@ -27,10 +27,10 @@
#error You must include config.h before including this header.
#endif
#ifdef ENABLE_NLS
#include "gettext.h" /* included with gettext distribution and copied */
#ifdef ENABLE_NLS
/* we want to use shorthand _() for translating and N_() for marking */
#define _(String) dgettext (GETTEXT_PACKAGE, String)
#define N_(String) gettext_noop (String)
......
......@@ -31,7 +31,6 @@
#include <string.h>
#include <locale.h>
#include <libintl.h>
#include <glib/gprintf.h>
static char *_name;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment