gtk+ r19821 - trunk/gtk
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19821 - trunk/gtk
- Date: Thu, 13 Mar 2008 00:35:54 +0000 (GMT)
Author: federico
Date: Thu Mar 13 00:35:54 2008
New Revision: 19821
URL: http://svn.gnome.org/viewvc/gtk+?rev=19821&view=rev
Log:
When finding the common prefix, assert that we have the correct folder loaded
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:35:54 2008
@@ -462,7 +462,9 @@
if (!parsed)
return;
- /* FIXME: assert that the current folder path is the same as the parsed path? */
+ g_assert (parsed_folder_path != NULL
+ && chooser_entry->current_folder_path != NULL
+ && gtk_file_path_compare (parsed_folder_path, chooser_entry->current_folder_path) == 0);
valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (chooser_entry->completion_store), &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]