After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584388 - expose the functionality of xdg_mime_list_mime_parents
expose the functionality of xdg_mime_list_mime_parents
Status: RESOLVED DUPLICATE of bug 547771
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-05-31 19:32 UTC by Tomeu Vizoso
Modified: 2009-07-10 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first try (3.30 KB, patch)
2009-07-06 14:20 UTC, Tomeu Vizoso
none Details | Review

Description Tomeu Vizoso 2009-05-31 19:32:48 UTC
Sugar is currently shipping with a copy of xdg_mime and we would wish to drop it and use the mime type functionality in Gio instead. All is fine except for the missing equivalent of xdg_mime_list_mime_parents().

Sugar needs that one in order to decide for which activities a given file can serve as a starting point.

Do people think that it would make sense to expose that functionality in the gio API? Perhaps as g_content_type_get_supertypes()? I will be glad to propose a patch if people agree with this addition.
Comment 1 Tomeu Vizoso 2009-07-06 14:20:11 UTC
Created attachment 137923 [details] [review]
first try
Comment 2 Tomeu Vizoso 2009-07-10 13:38:42 UTC

*** This bug has been marked as a duplicate of 547771 ***