[tracker/rss-enclosures] libtracker-sparql: Use GLib.ContentType namespace



commit 24cb64eaba4ee6ae59d11ad9dd0e1dbff5cf4dff
Author: Jürg Billeter <j bitron ch>
Date:   Mon Oct 25 09:46:17 2010 +0200

    libtracker-sparql: Use GLib.ContentType namespace

 src/libtracker-sparql/tracker-backend.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-backend.vala b/src/libtracker-sparql/tracker-backend.vala
index 71706ad..ba48166 100644
--- a/src/libtracker-sparql/tracker-backend.vala
+++ b/src/libtracker-sparql/tracker-backend.vala
@@ -264,7 +264,7 @@ class Tracker.Sparql.Backend : Connection {
 				                null);
 
 			string content_type = info.get_content_type ();
-			string mime = g_content_type_get_mime_type (content_type);
+			string mime = ContentType.get_mime_type (content_type);
 			string expected_mime = "application/x-sharedlib";
 		
 			if (mime != expected_mime) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]