[gnome-photos/wip/rishi/collection: 10/45] debug: Add a debug flag to track changes to the BaseManagers



commit d026f57a02a9b0a7402733c66b53e4f419094bdd
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Sep 4 18:40:27 2017 +0200

    debug: Add a debug flag to track changes to the BaseManagers

 src/photos-debug.c | 1 +
 src/photos-debug.h | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-debug.c b/src/photos-debug.c
index de808c14..e8b4a3fe 100644
--- a/src/photos-debug.c
+++ b/src/photos-debug.c
@@ -39,6 +39,7 @@ photos_debug_init (void)
       { "dlna", PHOTOS_DEBUG_DLNA },
       { "gegl", PHOTOS_DEBUG_GEGL },
       { "import", PHOTOS_DEBUG_IMPORT },
+      { "manager", PHOTOS_DEBUG_MANAGER },
       { "memory", PHOTOS_DEBUG_MEMORY },
       { "network", PHOTOS_DEBUG_NETWORK },
       { "thumbnailer", PHOTOS_DEBUG_THUMBNAILER },
diff --git a/src/photos-debug.h b/src/photos-debug.h
index 3df9635e..fe9d36f7 100644
--- a/src/photos-debug.h
+++ b/src/photos-debug.h
@@ -30,10 +30,11 @@ typedef enum
   PHOTOS_DEBUG_DLNA       = 1 << 1,
   PHOTOS_DEBUG_GEGL       = 1 << 2,
   PHOTOS_DEBUG_IMPORT     = 1 << 3,
-  PHOTOS_DEBUG_MEMORY     = 1 << 4,
-  PHOTOS_DEBUG_NETWORK    = 1 << 5,
-  PHOTOS_DEBUG_THUMBNAILER = 1 << 6,
-  PHOTOS_DEBUG_TRACKER    = 1 << 7
+  PHOTOS_DEBUG_MANAGER    = 1 << 4,
+  PHOTOS_DEBUG_MEMORY     = 1 << 5,
+  PHOTOS_DEBUG_NETWORK    = 1 << 6,
+  PHOTOS_DEBUG_THUMBNAILER = 1 << 7,
+  PHOTOS_DEBUG_TRACKER    = 1 << 8
 } PhotosDebugFlags;
 
 void        photos_debug_init          (void);


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