[Xfce4-commits] r30378 - in thunar/branches/migration-to-gio: . thunar

Jannis Pohlmann jannis at xfce.org
Wed Jul 22 17:58:17 CEST 2009


Author: jannis
Date: 2009-07-22 15:58:17 +0000 (Wed, 22 Jul 2009)
New Revision: 30378

Modified:
   thunar/branches/migration-to-gio/ChangeLog
   thunar/branches/migration-to-gio/thunar/thunar-file.c
Log:
	* thunar/thunar-file.c: Fix typo in thunar_file_info_has_mime_type()
	  which caused a lot of problems. Patch by Nick.

Modified: thunar/branches/migration-to-gio/ChangeLog
===================================================================
--- thunar/branches/migration-to-gio/ChangeLog	2009-07-22 08:16:40 UTC (rev 30377)
+++ thunar/branches/migration-to-gio/ChangeLog	2009-07-22 15:58:17 UTC (rev 30378)
@@ -1,3 +1,8 @@
+2009-07-22	Jannis Pohlmann <jannis at xfce.org>
+
+	* thunar/thunar-file.c: Fix typo in thunar_file_info_has_mime_type()
+	  which caused a lot of problems. Patch by Nick.
+
 2009-07-18	Jannis Pohlmann <jannis at xfce.org>
 
 	* thunar/thunar-file.c: Only return true from

Modified: thunar/branches/migration-to-gio/thunar/thunar-file.c
===================================================================
--- thunar/branches/migration-to-gio/thunar/thunar-file.c	2009-07-22 08:16:40 UTC (rev 30377)
+++ thunar/branches/migration-to-gio/thunar/thunar-file.c	2009-07-22 15:58:17 UTC (rev 30378)
@@ -407,7 +407,7 @@
   if (THUNAR_FILE (file_info)->info == NULL)
     return FALSE;
 
-  return g_content_type_is_a (mime_type, g_file_info_get_content_type (THUNAR_FILE (file_info)->info));
+  return g_content_type_is_a (g_file_info_get_content_type (THUNAR_FILE (file_info)->info), mime_type);
 }
 
 




More information about the Xfce4-commits mailing list