[Pkg-privacy-commits] [nautilus-wipe] 164/224: Move g_dngettext compatibility define to compat.h

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 19:45:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository nautilus-wipe.

commit 00053742da36a1f509c5a4fab7eb17097af9c0e5
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Mon May 21 17:43:52 2012 +0200

    Move g_dngettext compatibility define to compat.h
---
 nautilus-wipe/compat.h        | 11 ++++++++++-
 nautilus-wipe/nautilus-wipe.h |  6 ------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/nautilus-wipe/compat.h b/nautilus-wipe/compat.h
index 4487443..9ebb6fd 100644
--- a/nautilus-wipe/compat.h
+++ b/nautilus-wipe/compat.h
@@ -19,7 +19,7 @@
  *
  */
 
-/* Contains compatibility things for old GTK and Nautilus */
+/* Contains compatibility things for old GLib, GTK and Nautilus */
 
 #ifndef NAUTILUS_WIPE_COMPAT_H
 #define NAUTILUS_WIPE_COMPAT_H
@@ -35,6 +35,15 @@
 G_BEGIN_DECLS
 
 
+/* GLib stuff */
+
+/* if GLib doesn't provide g_dngettext(), wrap it from dngettext() */
+#if (! GLIB_CHECK_VERSION (2, 18, 0) && ! defined (g_dngettext))
+# include <libintl.h>
+# define g_dngettext dngettext
+#endif
+
+
 /* GTK stuff */
 
 #if ! GTK_CHECK_VERSION(2, 14, 0)
diff --git a/nautilus-wipe/nautilus-wipe.h b/nautilus-wipe/nautilus-wipe.h
index ba9cf5f..c66c385 100644
--- a/nautilus-wipe/nautilus-wipe.h
+++ b/nautilus-wipe/nautilus-wipe.h
@@ -25,12 +25,6 @@
 #include <glib.h>
 #include <glib-object.h>
 
-/* if GLib doesn't provide g_dngettext(), wrap it from dngettext() */
-#if (! GLIB_CHECK_VERSION (2, 18, 0) && ! defined (g_dngettext))
-# include <libintl.h>
-# define g_dngettext dngettext
-#endif
-
 G_BEGIN_DECLS
 
 /* Declarations for the open terminal extension object.  This object will be

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git



More information about the Pkg-privacy-commits mailing list