[gnome-commander] Remove debuggin output, sort arguments in switch statement



commit 039b42331e1b8cd0358d12580997896ba9deb41e
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Jun 21 22:54:56 2021 +0200

    Remove debuggin output, sort arguments in switch statement

 src/gnome-cmd-dir.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index 337c11f2..369568a6 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -96,6 +96,7 @@ static void monitor_callback (GFileMonitor *gFileMonitor, GFile *gFile, GFile *o
             DEBUG('n', "G_FILE_MONITOR_EVENT_CREATED for %s\n", fileUri);
             gnome_cmd_dir_file_created (dir, fileUri);
             break;
+        case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
         case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
         case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
         case G_FILE_MONITOR_EVENT_UNMOUNTED:
@@ -103,8 +104,6 @@ static void monitor_callback (GFileMonitor *gFileMonitor, GFile *gFile, GFile *o
         case G_FILE_MONITOR_EVENT_MOVED_IN:
         case G_FILE_MONITOR_EVENT_MOVED_OUT:
         case G_FILE_MONITOR_EVENT_RENAMED:
-        case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
-            DEBUG('n', "Unwatched event %d\n", event_type);
             break;
 
         default:


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