summaryrefslogtreecommitdiff
path: root/gksu
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-31 18:58:03 +0100
committerraveit65 <[email protected]>2021-01-28 21:14:30 +0100
commitd9f4cc876d523560f97156ceda1905ee34ffdaae (patch)
tree6e05dff31883a7272de155b26f4d8d2524ac4ccc /gksu
parentc6dba2ce2ec09f2c6202fd1a22f1b5ae89532f50 (diff)
downloadcaja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.bz2
caja-extensions-d9f4cc876d523560f97156ceda1905ee34ffdaae.tar.xz
Include i18n header after defining GETTEXT_PACKAGE macro
Diffstat (limited to 'gksu')
-rw-r--r--gksu/libcaja-gksu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
index 9b7410e..177acf3 100644
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -1,3 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <glib/gi18n-lib.h>
+
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
@@ -10,14 +16,8 @@
#include <libcaja-extension/caja-extension-types.h>
#include <libcaja-extension/caja-menu-provider.h>
-#include <config.h>
-
-#include <libintl.h>
-#define _(x) dgettext (GETTEXT_PACKAGE, x)
-
#define GKSU_TYPE_CONTEXT_MENU (gksu_context_menu_get_type ())
-
typedef struct {
GObject parent;
} GksuContextMenu;