Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-10-2008, 07:25 AM   #1
Registered: May 2007
Distribution: slackware
Posts: 34

Rep: Reputation: 15

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

Last edited by linuxsavar; 10-10-2008 at 07:27 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XDG menus, LXDE, and menu entries kdulcimer Grafpup 3 11-10-2007 01:14 AM
mime types Nightfrost Linux - General 2 10-01-2004 05:11 AM
xdg problems zbrox Debian 2 07-11-2004 10:53 AM
Ximian and MIME? mikeshn Linux - Software 0 03-26-2004 08:22 AM
MIME Types? JoeLinux Linux - Software 6 09-14-2002 04:54 AM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration