nautilus r14694 - in branches/gnome-2-24: . libnautilus-private



Author: matthiasc
Date: Mon Oct  6 16:59:07 2008
New Revision: 14694
URL: http://svn.gnome.org/viewvc/nautilus?rev=14694&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:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/libnautilus-private/nautilus-file.c

Modified: branches/gnome-2-24/libnautilus-private/nautilus-file.c
==============================================================================
--- branches/gnome-2-24/libnautilus-private/nautilus-file.c	(original)
+++ branches/gnome-2-24/libnautilus-private/nautilus-file.c	Mon Oct  6 16:59:07 2008
@@ -1849,7 +1849,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]