[gnome-photos] tool-crop: Silence -Wparentheses



commit ece92a72af77a102fa75b15040f8793ec4dbe242
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jul 19 14:58:54 2017 +0200

    tool-crop: Silence -Wparentheses
    
    Fallout from ea1703241833ea2c1ac659c08923171cc9ffd9f3

 src/photos-tool-crop.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-tool-crop.c b/src/photos-tool-crop.c
index 31f481e..345c4f8 100644
--- a/src/photos-tool-crop.c
+++ b/src/photos-tool-crop.c
@@ -877,8 +877,8 @@ photos_tool_crop_set_active (PhotosToolCrop *self, gint active, GtkToggleButton
 {
   GtkListBoxRow *row;
 
-  g_return_if_fail (active == -1 && orientation_button == NULL
-                    || active != -1 && GTK_IS_TOGGLE_BUTTON (orientation_button));
+  g_return_if_fail ((active == -1 && orientation_button == NULL)
+                    || (active != -1 && GTK_IS_TOGGLE_BUTTON (orientation_button)));
 
   g_signal_handlers_block_by_func (self->landscape_button, photos_tool_crop_orientation_toggled, self);
   g_signal_handlers_block_by_func (self->list_box, photos_tool_crop_list_box_row_activated, self);


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