From 6ceddd626a20f5c3d92ddd9318338626f4be4a4d Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 10 Sep 2013 11:52:45 +0200 Subject: [PATCH] util: fix warnings when compiling gnome-shell-wayland Replace our version of the gettext macros with those in glib, so that they don't conflict with gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=707851 --- src/meta/util.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/meta/util.h b/src/meta/util.h index ef5a67527..04655eea8 100644 --- a/src/meta/util.h +++ b/src/meta/util.h @@ -25,6 +25,7 @@ #include #include +#include #include @@ -120,10 +121,6 @@ const char* meta_gravity_to_string (int gravity); char* meta_external_binding_name_for_action (guint keybinding_action); -#include -#define _(x) dgettext (GETTEXT_PACKAGE, x) -#define N_(x) x - char* meta_g_utf8_strndup (const gchar *src, gsize n); void meta_free_gslist_and_elements (GSList *list_to_deep_free);