[eog: 1/3] Fix warning "enumeration value X not handled in switch



commit 1c74d08a047d373faf8577e799ca8d6b5bd38595
Author: Thomas Bechtold <tbechtold suse com>
Date:   Mon Oct 15 06:53:12 2018 +0200

    Fix warning "enumeration value X not handled in switch

 src/eog-list-store.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/eog-list-store.c b/src/eog-list-store.c
index e3046382..5bc8e6ca 100644
--- a/src/eog-list-store.c
+++ b/src/eog-list-store.c
@@ -463,6 +463,9 @@ file_monitor_changed_cb (GFileMonitor *monitor,
        case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
        case G_FILE_MONITOR_EVENT_UNMOUNTED:
        case G_FILE_MONITOR_EVENT_MOVED:
+       case G_FILE_MONITOR_EVENT_RENAMED:
+       case G_FILE_MONITOR_EVENT_MOVED_IN:
+       case G_FILE_MONITOR_EVENT_MOVED_OUT:
                break;
        }
 }


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