gnome-games r8554 - in trunk: . same-gnome
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8554 - in trunk: . same-gnome
- Date: Sat, 10 Jan 2009 17:39:55 +0000 (UTC)
Author: chpe
Date: Sat Jan 10 17:39:55 2009
New Revision: 8554
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8554&view=rev
Log:
Remove unnecessary ngettext checks. We already depend on a gettext
version that is guaranteed to have them. Bug #521128, patch by
ephraim_owns at hotmail dot com.
Modified:
trunk/configure.in
trunk/same-gnome/ui.c
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Jan 10 17:39:55 2009
@@ -853,19 +853,17 @@
# Check for library functions
# ===========================
+
AC_CHECK_FUNCS([dup2 strcasecmp strchr strerror \
malloc vprintf], [],
[AC_MSG_ERROR([cannot find required function])])
AC_CHECK_FUNCS([fork select])
-# Since there is controversy over using it, we will check for it.
-AC_CHECK_FUNCS(ngettext alarm getpwuid getenv setenv close hstrerror kill socketpair)
+AC_CHECK_FUNCS([alarm getpwuid getenv setenv close hstrerror kill socketpair])
AC_FUNC_SELECT_ARGTYPES
-# Check for header files
AC_HEADER_STDC
-dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_FORK
AC_FUNC_STRCOLL
Modified: trunk/same-gnome/ui.c
==============================================================================
--- trunk/same-gnome/ui.c (original)
+++ trunk/same-gnome/ui.c Sat Jan 10 17:39:55 2009
@@ -29,12 +29,6 @@
#define DEFAULT_WINDOW_WIDTH 450
#define DEFAULT_WINDOW_HEIGHT 350
-/* Define an alternative to ngettext if we don't have it. Of course it isn't
- * a proper substitute for ngettext, but it is the best we can do. */
-#ifndef HAVE_NGETTEXT
-#define ngettext(one,lots,n) gettext(lots)
-#endif
-
/* A collection of widgets we need to reference repeatedly. */
GtkWidget *application;
GtkWidget *messagewidget;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]