i am going to use xdg-mime library in my application
i include xdgmime.h
i used
Code:
const char *result=xdg_mime_get_mime_type_from_file_name(".png")
to get mimetype for png
but when i used
Code:
char **par=xdg_mime_get_mime_parents(result);
it only returned NULL
can anybody help me for using this library?
thanks