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

14 lines
469 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 1367114..72ba033 100644
--- a/src/notification.c
+++ b/src/notification.c
@@ -401,7 +401,7 @@ validate_icon_more (GVariant *v)
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];
if (G_IS_THEMED_ICON (icon))