anjuta r3810 - in branches/anjuta-2-4: . plugins/sourceview



Author: jhs
Date: Wed Apr  2 10:10:58 2008
New Revision: 3810
URL: http://svn.gnome.org/viewvc/anjuta?rev=3810&view=rev

Log:
2008-04-02  Johannes Schmid  <jhs gnome org>

	* plugins/sourceview/sourceview.c (autodetect_language):
	Use gnome_vfs_get_slow_mime_type()

Modified:
   branches/anjuta-2-4/ChangeLog
   branches/anjuta-2-4/plugins/sourceview/sourceview.c

Modified: branches/anjuta-2-4/plugins/sourceview/sourceview.c
==============================================================================
--- branches/anjuta-2-4/plugins/sourceview/sourceview.c	(original)
+++ branches/anjuta-2-4/plugins/sourceview/sourceview.c	Wed Apr  2 10:10:58 2008
@@ -1882,7 +1882,7 @@
 autodetect_language (Sourceview* sv)
 {
 	const gchar* uri = anjuta_document_get_uri (sv->priv->document);
-	const gchar* vfs_mime_type = gnome_vfs_get_mime_type (uri);
+	const gchar* vfs_mime_type = gnome_vfs_get_slow_mime_type (uri);
 	GStrv languages;
 	GStrv cur_lang;
 	const gchar* detected_language = NULL;



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