gtk+ r19810 - trunk/gtk



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

Log:
Debug printfs for finding the common prefix

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:31:13 2008
@@ -449,6 +449,11 @@
 				  &parsed_file_part,
 				  NULL); /* NULL-GError */
 
+  printf ("Text up to cursor: \"%s\"\n", text_up_to_cursor);
+  printf ("parsed_folder_path: \"%s\"\nparsed_file_part: \"%s\"\n",
+	  parsed_folder_path ? (char *) parsed_folder_path : "<NONE>",
+	  parsed_file_part ? parsed_file_part : "<NONE>");
+
   g_free (text_up_to_cursor);
 
   if (!parsed)



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