LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   xdg-mime (http://www.linuxquestions.org/questions/programming-9/xdg-mime-675483/)

linuxsavar 10-10-2008 07:25 AM

xdg-mime
 
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


All times are GMT -5. The time now is 07:42 AM.