[Xfce4-commits] [panel-plugins/xfce4-cpufreq-plugin] 03/07: Remove gettext macro

noreply at xfce.org noreply at xfce.org
Fri Sep 21 15:21:39 CEST 2018


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-cpufreq-plugin.

commit 2e4031018c66efb0659bc8ef4bfd2293d212bbf3
Author: Andre Miranda <andreldm at xfce.org>
Date:   Wed Sep 19 20:09:13 2018 -0300

    Remove gettext macro
---
 panel-plugin/xfce4-cpufreq-configure.c    |  5 -----
 panel-plugin/xfce4-cpufreq-linux-procfs.c |  5 -----
 panel-plugin/xfce4-cpufreq-linux-pstate.c |  5 -----
 panel-plugin/xfce4-cpufreq-linux-sysfs.c  |  5 -----
 panel-plugin/xfce4-cpufreq-linux.c        |  5 -----
 panel-plugin/xfce4-cpufreq-overview.c     |  9 +++------
 panel-plugin/xfce4-cpufreq-plugin.c       | 11 ++++-------
 7 files changed, 7 insertions(+), 38 deletions(-)

diff --git a/panel-plugin/xfce4-cpufreq-configure.c b/panel-plugin/xfce4-cpufreq-configure.c
index 25fea0d..8675301 100644
--- a/panel-plugin/xfce4-cpufreq-configure.c
+++ b/panel-plugin/xfce4-cpufreq-configure.c
@@ -27,11 +27,6 @@
 #include "xfce4-cpufreq-plugin.h"
 #include "xfce4-cpufreq-configure.h"
 
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
-
 
 
 static void
diff --git a/panel-plugin/xfce4-cpufreq-linux-procfs.c b/panel-plugin/xfce4-cpufreq-linux-procfs.c
index 89e90db..551cfe1 100644
--- a/panel-plugin/xfce4-cpufreq-linux-procfs.c
+++ b/panel-plugin/xfce4-cpufreq-linux-procfs.c
@@ -24,11 +24,6 @@
 #include "xfce4-cpufreq-plugin.h"
 #include "xfce4-cpufreq-linux-procfs.h"
 
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
-
 #define PROCFS_BASE "/proc/cpufreq"
 
 
diff --git a/panel-plugin/xfce4-cpufreq-linux-pstate.c b/panel-plugin/xfce4-cpufreq-linux-pstate.c
index 7b5f685..5987b40 100644
--- a/panel-plugin/xfce4-cpufreq-linux-pstate.c
+++ b/panel-plugin/xfce4-cpufreq-linux-pstate.c
@@ -25,11 +25,6 @@
 #include "xfce4-cpufreq-linux-pstate.h"
 #include "xfce4-cpufreq-linux-sysfs.h"
 
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
-
 #define PSTATE_BASE "/sys/devices/system/cpu/intel_pstate"
 
 static gboolean read_params ();
diff --git a/panel-plugin/xfce4-cpufreq-linux-sysfs.c b/panel-plugin/xfce4-cpufreq-linux-sysfs.c
index 92b89ac..5c418b5 100644
--- a/panel-plugin/xfce4-cpufreq-linux-sysfs.c
+++ b/panel-plugin/xfce4-cpufreq-linux-sysfs.c
@@ -24,11 +24,6 @@
 #include "xfce4-cpufreq-plugin.h"
 #include "xfce4-cpufreq-linux-sysfs.h"
 
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
-
 #define SYSFS_BASE  "/sys/devices/system/cpu"
 
 static void cpufreq_sysfs_read_int_list (gchar *file, gchar *contents, GList **list);
diff --git a/panel-plugin/xfce4-cpufreq-linux.c b/panel-plugin/xfce4-cpufreq-linux.c
index a50d27f..90d4529 100644
--- a/panel-plugin/xfce4-cpufreq-linux.c
+++ b/panel-plugin/xfce4-cpufreq-linux.c
@@ -34,11 +34,6 @@
 #include "xfce4-cpufreq-linux-pstate.h"
 #include "xfce4-cpufreq-linux-sysfs.h"
 
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
-
 
 
 gboolean
diff --git a/panel-plugin/xfce4-cpufreq-overview.c b/panel-plugin/xfce4-cpufreq-overview.c
index af44034..bdc902b 100644
--- a/panel-plugin/xfce4-cpufreq-overview.c
+++ b/panel-plugin/xfce4-cpufreq-overview.c
@@ -25,17 +25,14 @@
 #endif
 
 #include <libxfce4ui/libxfce4ui.h>
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
 
 #include "xfce4-cpufreq-plugin.h"
+#include "xfce4-cpufreq-overview.h"
+#include "xfce4-cpufreq-utils.h"
+
 #ifdef __linux__
 #include "xfce4-cpufreq-linux.h"
 #endif /* __linux__ */
-#include "xfce4-cpufreq-overview.h"
-#include "xfce4-cpufreq-utils.h"
 
 
 
diff --git a/panel-plugin/xfce4-cpufreq-plugin.c b/panel-plugin/xfce4-cpufreq-plugin.c
index 5a3b5bb..d30ddee 100644
--- a/panel-plugin/xfce4-cpufreq-plugin.c
+++ b/panel-plugin/xfce4-cpufreq-plugin.c
@@ -27,19 +27,16 @@
 #endif
 
 #include <libxfce4ui/libxfce4ui.h>
-#ifndef _
-# include <libintl.h>
-# define _(String) gettext (String)
-#endif
 
 #include "xfce4-cpufreq-plugin.h"
-#ifdef __linux__
-#include "xfce4-cpufreq-linux.h"
-#endif /* __linux__ */
 #include "xfce4-cpufreq-configure.h"
 #include "xfce4-cpufreq-overview.h"
 #include "xfce4-cpufreq-utils.h"
 
+#ifdef __linux__
+#include "xfce4-cpufreq-linux.h"
+#endif /* __linux__ */
+
 
 
 CpuInfo *

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list