gnome_vfs_get_registered_mime_types

View: New views
2 Messages — Rating Filter:   Alert me  

gnome_vfs_get_registered_mime_types

by portal on behalf of Bogdan Gheorghe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi -

Is there anything equivalent in the current VFS api to the old deprecated gnome_vfs_get_registered_mime_types() ?

Thanks!
Bogdan
_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list@...
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Re: gnome_vfs_get_registered_mime_types

by Cosimo Cecchi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2008-04-22 at 14:25 -0400, Bogdan Gheorghe wrote:
>
> Hi -
>
> Is there anything equivalent in the current VFS api to the old
> deprecated gnome_vfs_get_registered_mime_types() ?

Hi Bogdan,

in the new GIO api (available in GLib >= 2.16) you can use
g_content_types_get_registered (), which basically does the same thing.

Cheers!

--
Cosimo

_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list@...
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list