totem-pl-parser r95 - in branches/gnome-2-22: . plparse



Author: hadess
Date: Tue Apr  8 23:09:31 2008
New Revision: 95
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=95&view=rev

Log:
2008-04-08  Bastien Nocera  <hadess hadess net>

	* plparse/totem-pl-parser.c (my_gnome_vfs_get_mime_type_for_data):
	When getting a text/plain mime-type to look at further, return
	NULL if we fail to get a real mime-type, otherwise the file
	will be added during fallback (Closes: #524475)



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/plparse/totem-pl-parser.c

Modified: branches/gnome-2-22/plparse/totem-pl-parser.c
==============================================================================
--- branches/gnome-2-22/plparse/totem-pl-parser.c	(original)
+++ branches/gnome-2-22/plparse/totem-pl-parser.c	Tue Apr  8 23:09:31 2008
@@ -1847,6 +1847,8 @@
 			if (res != NULL)
 				return g_strdup (res);
 		}
+
+		return NULL;
 	}
 
 	return g_strdup (mimetype);



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