diff --git a/src/Application.vala b/src/Application.vala index e2d2894..eef8d0a 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -310,12 +310,6 @@ namespace NXDumpClient { } catch(Error e) { warning("Failed to initialize libportal: %s", e.message); } - - if (Xdp.Portal.running_under_flatpak()) { - // Fix About dialog icon - debug("Adding to icons path: %s", BuildConfig.ICONS_PATH); - Gtk.IconTheme.get_for_display(Gdk.Display.get_default()).add_search_path(BuildConfig.ICONS_PATH); - } #endif } diff --git a/src/config.vapi b/src/config.vapi index e79e274..7fc7d02 100644 --- a/src/config.vapi +++ b/src/config.vapi @@ -11,6 +11,5 @@ namespace BuildCArgs { namespace BuildConfig { public const string VERSION; public const string LOCALE_DIR; - public const string ICONS_PATH; public const string EXECUTABLE; } diff --git a/src/meson.build b/src/meson.build index 40fe296..429e3f6 100644 --- a/src/meson.build +++ b/src/meson.build @@ -79,7 +79,6 @@ conf_data = configuration_data() conf_data.set_quoted('NXDC_VERSION', meson.project_version()) conf_data.set_quoted('NXDC_LOCALE_DIR', get_option('prefix') / get_option('localedir')) -conf_data.set_quoted('NXDC_ICONS_PATH', get_option('prefix') / get_option('datadir') / 'icons') conf_data.set_quoted('NXDC_EXECUTABLE', get_option('prefix') / get_option('bindir') / 'nxdumpclient') configure_file(