[Pkg-privacy-commits] [nautilus-wipe] 44/224: Move i18n stuff in nautilus-srm.h so other files can easily use it
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:32 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 808c8c78938cdcfc13738508a03015ecd1018042
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sun Feb 21 22:18:24 2010 +0100
Move i18n stuff in nautilus-srm.h so other files can easily use it
---
nautilus-srm/nautilus-srm.c | 8 --------
nautilus-srm/nautilus-srm.h | 8 ++++++++
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/nautilus-srm/nautilus-srm.c b/nautilus-srm/nautilus-srm.c
index 73d1612..9038b91 100644
--- a/nautilus-srm/nautilus-srm.c
+++ b/nautilus-srm/nautilus-srm.c
@@ -25,8 +25,6 @@
#include <libnautilus-extension/nautilus-file-info.h>
#include <glib.h>
-#define GETTEXT_PACKAGE "nautilus-srm"
-#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
@@ -37,12 +35,6 @@
#include "delete-operation.h"
#include "fill-operation.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
-
static GType provider_types[1];
static GType nautilus_srm_type = 0;
diff --git a/nautilus-srm/nautilus-srm.h b/nautilus-srm/nautilus-srm.h
index c5f9011..5630702 100644
--- a/nautilus-srm/nautilus-srm.h
+++ b/nautilus-srm/nautilus-srm.h
@@ -24,6 +24,14 @@
#include <glib.h>
#include <glib-object.h>
+#define GETTEXT_PACKAGE "nautilus-srm"
+#include <glib/gi18n-lib.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
--
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