[vlc-devel] commit: vlc_dgettext: remove ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 28 17:14:15 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May 28 18:15:51 2008 +0300| [c807dafe39ee811da69b5fda6729e21ed77734bf]

vlc_dgettext: remove

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c807dafe39ee811da69b5fda6729e21ed77734bf
---

 src/extras/libc.c |   11 -----------
 src/libvlc.h      |    2 --
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/extras/libc.c b/src/extras/libc.c
index 4f62486..da83909 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -322,17 +322,6 @@ int vlc_wclosedir( void *_p_dir )
 #endif
 }
 
-#if defined (WIN32)
-/**
- * gettext callbacks for plugins.
- * LibVLC links libintl statically on Windows.
- */
-char *vlc_dgettext( const char *package, const char *msgid )
-{
-    return dgettext( package, msgid );
-}
-#endif
-
 /**
  * In-tree plugins share their gettext domain with LibVLC.
  */
diff --git a/src/libvlc.h b/src/libvlc.h
index ff0ce61..9194932 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -287,8 +287,6 @@ void vlc_rewinddir (void *);
 #   define _wreaddir vlc_wreaddir
 #   define _wclosedir vlc_wclosedir
 #   define rewinddir vlc_rewinddir
-
-char *vlc_dgettext ( const char *package, const char *msgid );
 #endif
 
 #endif




More information about the vlc-devel mailing list