Skip to content

Commit

Permalink
Remove old workaround for app icon under flatpak
Browse files Browse the repository at this point in the history
Seems it was fixed somewhere in the meantime.
  • Loading branch information
v1993 committed Oct 15, 2024
1 parent 7903277 commit 6337ecf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 0 additions & 1 deletion src/config.vapi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 0 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6337ecf

Please sign in to comment.