Commit 2ebe6a49 authored by Gaël Bonithon's avatar Gaël Bonithon

Field codes expansion API update

parent 412d1cf5
Pipeline #1508 passed with stages
in 2 minutes and 11 seconds
......@@ -100,7 +100,7 @@ dnl Check for i18n support
dnl Check for required packages
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.15.1])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.15.2])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.15.1])
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.22.0])
XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.42.0])
......@@ -390,7 +390,8 @@ xfsm_launch_desktop_files_on_run_hook (gboolean start_at_spi,
filename = xfce_resource_lookup (XFCE_RESOURCE_CONFIG, files[n]);
uri = g_filename_to_uri (filename, NULL, NULL);
g_free (filename);
exec = xfce_expand_field_codes (xfce_rc_read_entry (rc, "Exec", NULL),
exec = xfce_expand_desktop_entry_field_codes (xfce_rc_read_entry (rc, "Exec", NULL),
xfce_rc_read_entry (rc, "Icon", NULL),
xfce_rc_read_entry (rc, "Name", NULL),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment