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 543865 - Use g_content_type_guess_for_tree() to detect media
Use g_content_type_guess_for_tree() to detect media
Status: RESOLVED FIXED
Product: totem-pl-parser
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: totem-pl-parser-maint
totem-pl-parser-maint
Depends on: 549458 549459
Blocks:
 
 
Reported: 2008-07-20 14:59 UTC by Bastien Nocera
Modified: 2008-08-30 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-07-20 14:59:01 UTC
Would remove quite a bit of code for us.
Comment 1 Bastien Nocera 2008-08-30 12:28:13 UTC
Nice!

 configure.in         |   27 -----
 plparse/totem-disc.c |  254 +++++----------------------------------------------
 2 files changed, 29 insertions(+), 252 deletions(-)

Just need to test it now.
Comment 2 Bastien Nocera 2008-08-30 13:53:20 UTC
2008-08-30  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Remove hal dependency

	* plparse/totem-disc.c (cd_cache_has_content_type), (cd_cache_new),
	(cd_cache_free), (cd_cache_disc_is_cdda), (cd_cache_disc_is_vcd),
	(cd_cache_disc_is_dvd): Use g_mount_guess_content_type() and
	g_content_type_guess_for_tree() to detect disc types, removing
	a lot of D-Bus code (Closes: #543865)