[gnome-photos/wip/rishi/edit-mode: 1/27] embed: Remove a wrong comment



commit 9f6c77795aee46892df3fdcb89a5e44b21a9540b
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Oct 12 16:36:58 2015 +0200

    embed: Remove a wrong comment
    
    The active item and the active collection being identical doesn't
    imply that the active item is NULL (or that we are in the overview).
    They can be identical even when we are viewing a collection. The code
    is correct, but the comment was wrong.
    
    Fall out from 5f910e73e58b50f791c48ceae9a9d63ab8ee86a6
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741593

 src/photos-embed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index ae7fce5..a45b342 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -383,7 +383,7 @@ photos_embed_active_changed (PhotosBaseManager *manager, GObject *object, gpoint
   g_action_change_state (priv->search_action, state);
 
   /* See above. */
-  if (active_item == (GObject *) active_collection) /* active_item == NULL */
+  if (active_item == (GObject *) active_collection)
     photos_embed_tracker_controllers_set_frozen (self, FALSE);
 }
 


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