gplugin/gplugin

Remove a gi18n-lib include
bugfix/clang-format-tweaks
2020-02-26, Richard Laager
bc1dffc263b1
Remove a gi18n-lib include

This avoids a bunch of the Perl _ hassless. If we need translations in
perl/gplugin-perl-loader.c in the future, we can bring this back.
--- a/perl/gplugin-perl-loader.c Wed Feb 26 15:00:17 2020 -0600
+++ b/perl/gplugin-perl-loader.c Wed Feb 26 15:02:52 2020 -0600
@@ -17,15 +17,6 @@
#include "gplugin-perl-loader.h"
-#define PERL_NO_GET_CONTEXT
-#include <gperl.h>
-/* perl define's _() to something completely different that we don't use. So
- * we undef it so that we can use it for gettext.
- */
-#undef _
-
-#include <glib/gi18n-lib.h>
-
#include "gplugin-perl-plugin.h"
struct _GPluginPerlLoader {
--- a/perl/gplugin-perl-plugin.h Wed Feb 26 15:00:17 2020 -0600
+++ b/perl/gplugin-perl-plugin.h Wed Feb 26 15:02:52 2020 -0600
@@ -21,14 +21,12 @@
#include <gplugin.h>
#include <gplugin-native.h>
-#ifndef _GPERL_H_
#define PERL_NO_GET_CONTEXT
#include <gperl.h>
/* perl define's _() to something completely different that we don't use. So
* we undef it so that we can use it for gettext.
*/
#undef _
-#endif
G_BEGIN_DECLS