totem-pl-parser r97 - in trunk: . plparse



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

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

	* plparse/totem-pl-parser.c (totem_pl_parser_mime_type_from_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:
   trunk/ChangeLog
   trunk/plparse/totem-pl-parser.c

Modified: trunk/plparse/totem-pl-parser.c
==============================================================================
--- trunk/plparse/totem-pl-parser.c	(original)
+++ trunk/plparse/totem-pl-parser.c	Tue Apr  8 23:12:41 2008
@@ -1888,6 +1888,8 @@
 				return g_strdup (res);
 			}
 		}
+
+		return NULL;
 	}
 
 	return mime_type;



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