summaryrefslogtreecommitdiffstats
path: root/src/daemon/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 18:55:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 18:55:35 +0200
commit3d7e4711921a936688441ea06c4691a67d5809be (patch)
tree2e9579ccfe53d00bb2b98d79d4fd703b7e91aad5 /src/daemon/CommLayerServerDBus.cpp
parent276100c5e7b543dfcaa1dc9f4ee748ca9032d587 (diff)
downloadabrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.gz
abrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.xz
abrt-3d7e4711921a936688441ea06c4691a67d5809be.zip
*: move NLS include and #define _ to abrtlib.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/daemon/CommLayerServerDBus.cpp')
-rw-r--r--src/daemon/CommLayerServerDBus.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/daemon/CommLayerServerDBus.cpp b/src/daemon/CommLayerServerDBus.cpp
index 4b11fc04..4a3c5add 100644
--- a/src/daemon/CommLayerServerDBus.cpp
+++ b/src/daemon/CommLayerServerDBus.cpp
@@ -16,6 +16,9 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <dbus/dbus.h>
#include "abrtlib.h"
#include "abrt_dbus.h"
@@ -28,16 +31,6 @@
// 16kB message limit
#define LIMIT_MESSAGE 16384
-#if HAVE_CONFIG_H
- #include <config.h>
-#endif
-#if ENABLE_NLS
- #include <libintl.h>
- #define _(S) gettext(S)
-#else
- #define _(S) (S)
-#endif
-
/*
* DBus signal emitters
*/