nixpkgs/pkgs/development/libraries/xdg-desktop-portal/fix-paths.patch

14 lines
437 B
Diff
Raw Normal View History

2019-02-21 21:23:04 +00:00
diff --git a/src/notification.c b/src/notification.c
index 5412609..4243e98 100644
2019-02-21 21:23:04 +00:00
--- a/src/notification.c
+++ b/src/notification.c
@@ -366,7 +366,7 @@
2019-02-21 21:23:04 +00:00
int status;
g_autofree char *err = NULL;
g_autoptr(GError) error = NULL;
- const char *icon_validator = LIBEXECDIR "/flatpak-validate-icon";
+ const char *icon_validator = "@flatpak@/libexec/flatpak-validate-icon";
const char *args[6];
2019-02-21 21:23:04 +00:00
if (G_IS_THEMED_ICON (icon))