One way to tackle this in general might be to use GFile objects (https://developer.gnome.org/gio/2.36/GFile.html) whenever we need to work with filenames, rather than just using raw character array filenames.
One way to tackle this in general might be to use GFile objects (https:/ /developer. gnome.org/ gio/2.36/ GFile.html) whenever we need to work with filenames, rather than just using raw character array filenames.