From bdd14e34317fb46e19d2505cfbbaa3cb9891e067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 1 Feb 2023 15:24:09 +0100 Subject: [PATCH] st/icon-theme: Replace GTK's custom i18n support GTK uses its own private i18n header, which most notably defines an I_() macro for interning static strings. That may be a worthwhile idea for the entire codebase, but as it's out of scope for this change set, just use the standard i18n support from glib for now. Part-of: --- src/st/st-icon-theme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/st/st-icon-theme.c b/src/st/st-icon-theme.c index bd23f603f..fa96c1088 100644 --- a/src/st/st-icon-theme.c +++ b/src/st/st-icon-theme.c @@ -25,11 +25,11 @@ #include #include #include +#include #include "st-icon-theme.h" #include "st-icon-cache.h" #include "st-settings.h" -#include "gtkintl.h" #define DEFAULT_ICON_THEME "Adwaita" @@ -346,7 +346,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass) * that a change has occurred in the contents of the current * icon theme. */ - signal_changed = g_signal_new (I_("changed"), + signal_changed = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkIconThemeClass, changed),