* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vlc_common.h,v 1.20 2002/08/14 17:06:53 sam Exp $
+ * $Id: vlc_common.h,v 1.21 2002/08/21 15:53:06 sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
#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)
# 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
* 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>
*
/* 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