[gnome-photos] preview-view: Silence -Wswitch-enum



commit 4b1aef88e7ac4b989cf867a35100b80b9bb4f67c
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Mar 12 19:09:21 2015 +0100

    preview-view: Silence -Wswitch-enum

 src/photos-preview-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index dc67713..b3955bf 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -1,6 +1,6 @@
 /*
  * Photos - access, organize and share your photos on GNOME
- * Copyright © 2013, 2014 Red Hat, Inc.
+ * Copyright © 2013, 2014, 2015 Red Hat, Inc.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -123,6 +123,7 @@ photos_preview_view_nav_buttons_activated (PhotosPreviewView *self, PhotosPrevie
       position = -1;
       break;
 
+    case PHOTOS_PREVIEW_ACTION_NONE:
     default:
       g_assert_not_reached ();
       break;


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