gtk+ r20843 - in trunk: . gtk



Author: matthiasc
Date: Wed Jul 16 13:51:56 2008
New Revision: 20843
URL: http://svn.gnome.org/viewvc/gtk+?rev=20843&view=rev

Log:
        * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
        free a GFile. Reported by Sebastien Bacher




Modified:
   trunk/ChangeLog
   trunk/gtk/gtkfilesystem.c

Modified: trunk/gtk/gtkfilesystem.c
==============================================================================
--- trunk/gtk/gtkfilesystem.c	(original)
+++ trunk/gtk/gtkfilesystem.c	Wed Jul 16 13:51:56 2008
@@ -1127,7 +1127,7 @@
 
       if (g_file_equal (file, bookmark->file))
 	{
-	  g_free (bookmark->file);
+          g_free (bookmark->label);
 	  bookmark->label = g_strdup (label);
 	  changed = TRUE;
 	  break;



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