gtk+ r19852 - trunk/gtk



Author: federico
Date: Thu Mar 13 00:46:14 2008
New Revision: 19852
URL: http://svn.gnome.org/viewvc/gtk+?rev=19852&view=rev

Log:
Clear the current_folder_path if loading yields an error

Signed-off-by: Federico Mena Quintero <federico gnu org>


Modified:
   trunk/gtk/gtkfilechooserentry.c

Modified: trunk/gtk/gtkfilechooserentry.c
==============================================================================
--- trunk/gtk/gtkfilechooserentry.c	(original)
+++ trunk/gtk/gtkfilechooserentry.c	Thu Mar 13 00:46:14 2008
@@ -1283,6 +1283,9 @@
 	  pop_up_completion_feedback (chooser_entry, msg);
 	  g_free (msg);
 	}
+
+      gtk_file_path_free (chooser_entry->current_folder_path);
+      chooser_entry->current_folder_path = NULL;
     }
 
   if (cancelled || error)



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