Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
da508b85
Commit
da508b85
authored
Aug 21, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./include/vlc_common.h: we don't set _() and N_() in Gnome-enabled modules
because <gnome.h> already does it for us.
parent
b6aeeca5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
include/vlc_common.h
include/vlc_common.h
+3
-3
modules/misc/gtk_main.c
modules/misc/gtk_main.c
+3
-1
No files found.
include/vlc_common.h
View file @
da508b85
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc_common.h,v 1.2
0 2002/08/14 17:06:53
sam Exp $
* $Id: vlc_common.h,v 1.2
1 2002/08/21 15:53:06
sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -467,7 +467,7 @@ typedef __int64 off_t;
#endif
#define VERSION VLC_VERSION
#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) && !defined( __BORLANDC__ ) && !defined(
MODULE_NAME_IS_gnome
)
#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) && !defined( __BORLANDC__ ) && !defined(
NEED_GNOMESUPPORT_H
)
# include <libintl.h>
# undef _
# define _(String) dgettext (PACKAGE, String)
...
...
@@ -476,7 +476,7 @@ typedef __int64 off_t;
# else
# define N_(String) (String)
# endif
#elif !defined(
MODULE_NAME_IS_gnome
)
#elif !defined(
NEED_GNOMESUPPORT_H
)
# define _(String) (String)
# define N_(String) (String)
#endif
...
...
modules/misc/gtk_main.c
View file @
da508b85
...
...
@@ -2,7 +2,7 @@
* gtk_main.c : Gtk+ wrapper for gtk_main
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: gtk_main.c,v 1.
1 2002/08/20 18:08:51
sam Exp $
* $Id: gtk_main.c,v 1.
2 2002/08/21 15:53:06
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -213,7 +213,9 @@ static void GtkMain( vlc_object_t *p_this )
/* gtk_init needs to know the command line. We don't care, so we
* give it an empty one */
static
char
*
p_args
[]
=
{
""
};
#ifdef HAVE_GNOME_H
static
char
**
pp_args
=
p_args
;
#endif
static
int
i_args
=
1
;
/* gtk_init will register stuff with g_atexit, so we need to have
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment