[maemo-commits] [maemo-commits] r13905 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 18 19:48:23 EEST 2007
Author: marivoll
Date: 2007-09-18 19:48:22 +0300 (Tue, 18 Sep 2007)
New Revision: 13905

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-smb.c
Log:
Removed debugging printfs.


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-smb.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-smb.c	2007-09-18 16:23:03 UTC (rev 13904)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-smb.c	2007-09-18 16:48:22 UTC (rev 13905)
@@ -160,7 +160,6 @@
 hildon_file_system_smb_is_visible (HildonFileSystemSpecialLocation *location,
 				   gboolean has_children)
 {
-  fprintf (stderr, "SMB VISIBLE (%d)\n", has_children);
   if (!has_children)
     return FALSE;
   else
@@ -187,7 +186,6 @@
                                    GtkFileSystemGetFolderCallback  callback,
                                    gpointer                        data)
 {
-  fprintf (stderr, "SMB GETFOLDER\n");
   return hildon_file_system_smb_get_workgroups_folder (file_system,
                                                        path,
                                                        types,
@@ -315,8 +313,6 @@
   MyFileFolder *my_folder = MY_FILE_FOLDER (folder);
   GList *c;
 
-  fprintf (stderr, "SMB GOT CHILDREN (%d)\n", g_slist_length (*children));
-
   *children = NULL;
   for (c = my_folder->children; c; c = c->next)
     {
@@ -330,8 +326,6 @@
       *children = g_slist_append (*children, childrens_children);
     }
 
-  fprintf (stderr, "SMB GOT CHILDREN (%d)\n", g_slist_length (*children));
-
   return TRUE;
 }
 
@@ -341,8 +335,6 @@
   MyFileFolder *my_folder = MY_FILE_FOLDER (folder);
   GList *c;
 
-  fprintf (stderr, "SMB FINISHED\n");
-
   if (!gtk_file_folder_is_finished_loading (GTK_FILE_FOLDER (my_folder->root)))
     return FALSE;
 
@@ -355,7 +347,6 @@
         return FALSE;
     }
 
-  fprintf (stderr, "SMB TRUE\n");
   return TRUE;
 }
 
@@ -409,8 +400,6 @@
       GtkFilePath *p = paths->data;
       GtkFilePath *my_p = my_file_folder_collaps_path (p);
 
-      fprintf (stderr, "SMB CHILD %s\n", gtk_file_path_get_string (my_p));
-
       my_paths = g_slist_append (my_paths, my_p);
       paths = paths->next;
     }
@@ -435,8 +424,6 @@
 
   g_object_unref (handle);
 
-  fprintf (stderr, "SMB CHILD FOLDER %p\n", folder);
-
   if (folder)
     {
       my_folder->children = g_list_append (my_folder->children,
@@ -459,7 +446,6 @@
   while (paths)
     {
       GtkFilePath *p = paths->data;
-      fprintf (stderr, "SMB ROOT %s\n", gtk_file_path_get_string (p));
       my_folder->n_children_waiting++;
       gtk_file_system_get_folder (my_folder->filesystem,
                                   p,


More information about the maemo-commits mailing list