[Vala] GDBus doubt

2018-10-20 Thread rastersoft
Hi all: (I rewrote the message to try to preserve the code format) I want to use the freedesktop portal DBus interface (https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.OpenURI.xml) to open a file with another application. I created this test code: usingG

[Vala] GDBus doubt

2018-10-20 Thread rastersoft
Hi all: I want to use the freedesktop portal (https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.OpenURI.xml) to open a file with another application. I created this test code: usingGLib; // using GIO; usingPosix; intmain(string[] args) { varloop =newGLib.Ma