[gnome-photos] application: Fix typo



commit 5375a9f3eb524a05c943ac910ef8bda8bb3e4d9a
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Feb 1 16:45:33 2016 +0100

    application: Fix typo

 src/photos-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 67aa6ae..bf0f7b8 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -273,7 +273,7 @@ photos_application_get_selection_or_active_item (PhotosApplication *self)
       const gchar *urn;
 
       selection = photos_selection_controller_get_selection (priv->sel_cntrlr);
-      if (selection == NULL || selection->next != NULL) /* length != NULL */
+      if (selection == NULL || selection->next != NULL) /* length != 1 */
         goto out;
 
       urn = (gchar *) selection->data;


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