[gnome-photos] item-manager: Style fix
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] item-manager: Style fix
- Date: Thu, 12 Jan 2017 14:20:29 +0000 (UTC)
commit 4b85803aa38f12361d25c7e7e113a9bf9caca009
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jan 12 11:23:57 2017 +0100
item-manager: Style fix
https://bugzilla.gnome.org/show_bug.cgi?id=690623
src/photos-item-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index 232693b..cd2b88b 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -304,8 +304,10 @@ photos_item_manager_add_cursor_for_mode (PhotosItemManager *self,
g_return_if_fail (mode != PHOTOS_WINDOW_MODE_PREVIEW);
is_collection = photos_item_manager_cursor_is_collection (cursor);
- g_return_if_fail ((is_collection && (mode == PHOTOS_WINDOW_MODE_COLLECTIONS || mode ==
PHOTOS_WINDOW_MODE_SEARCH))
- || (!is_collection && (mode != PHOTOS_WINDOW_MODE_COLLECTIONS || self->active_collection
!= NULL)));
+ g_return_if_fail ((is_collection
+ && (mode == PHOTOS_WINDOW_MODE_COLLECTIONS || mode == PHOTOS_WINDOW_MODE_SEARCH))
+ || (!is_collection
+ && (mode != PHOTOS_WINDOW_MODE_COLLECTIONS || self->active_collection != NULL)));
if (!force && !photos_item_manager_can_add_cursor_for_mode (self, cursor, mode))
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]