nautilus r14693 - in trunk: . libnautilus-private



Author: matthiasc
Date: Mon Oct  6 16:57:22 2008
New Revision: 14693
URL: http://svn.gnome.org/viewvc/nautilus?rev=14693&view=rev

Log:
2008-10-06  Matthias Clasen  <mclasen redhat com>

        Bug 553073 â invalid strcmp

        * libnautilus-private/nautilus-file.c (update_info_internal):
        Use eel_ref_str_peek where appropriate.



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-file.c

Modified: trunk/libnautilus-private/nautilus-file.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file.c	(original)
+++ trunk/libnautilus-private/nautilus-file.c	Mon Oct  6 16:57:22 2008
@@ -1848,7 +1848,7 @@
 	}
 
 	filesystem_id = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_ID_FILESYSTEM);
-	if (eel_strcmp (file->details->filesystem_id, filesystem_id) != 0) {
+	if (eel_strcmp (eel_ref_str_peek (file->details->filesystem_id), filesystem_id) != 0) {
 		changed = TRUE;
 		eel_ref_str_unref (file->details->filesystem_id);
 		file->details->filesystem_id = eel_ref_str_get_unique (filesystem_id);



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