[gnome-photos/wip/rishi/collection: 4/15] embed, tool-crop: Style fixes



commit f218b551e9c7a47d2c03243ab31ddfb4d994af19
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jul 28 12:29:16 2017 +0200

    embed, tool-crop: Style fixes

 src/photos-embed.c     |    1 +
 src/photos-tool-crop.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index 77ea1a5..db37edc 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -163,6 +163,7 @@ photos_embed_get_view_container_from_mode (PhotosEmbed *self, PhotosWindowMode m
     case PHOTOS_WINDOW_MODE_PREVIEW:
     default:
       g_assert_not_reached ();
+      break;
     }
 
   return view_container;
diff --git a/src/photos-tool-crop.c b/src/photos-tool-crop.c
index 1e15f95..799d726 100644
--- a/src/photos-tool-crop.c
+++ b/src/photos-tool-crop.c
@@ -159,6 +159,7 @@ photos_tool_crop_calculate_aspect_ratio (PhotosToolCrop *self, guint constraint)
 
     default:
       g_assert_not_reached ();
+      break;
     }
 
   return ret_val;


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