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



commit e4cdfb605d6fd9b29aec82ed16a2a5769e7c4220
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 2d06ed57..a9d61c86 100644
--- a/src/photos-debug.c
+++ b/src/photos-debug.c
@@ -40,6 +40,7 @@ photos_debug_init (void)
       { "application", PHOTOS_DEBUG_APPLICATION },
       { "dlna", PHOTOS_DEBUG_DLNA },
       { "gegl", PHOTOS_DEBUG_GEGL },
+      { "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 4df04263..b5725700 100644
--- a/src/photos-debug.h
+++ b/src/photos-debug.h
@@ -31,10 +31,11 @@ typedef enum
   PHOTOS_DEBUG_APPLICATION = 1 << 0,
   PHOTOS_DEBUG_DLNA       = 1 << 1,
   PHOTOS_DEBUG_GEGL       = 1 << 2,
-  PHOTOS_DEBUG_MEMORY     = 1 << 3,
-  PHOTOS_DEBUG_NETWORK    = 1 << 4,
-  PHOTOS_DEBUG_THUMBNAILER = 1 << 5,
-  PHOTOS_DEBUG_TRACKER    = 1 << 6
+  PHOTOS_DEBUG_MANAGER    = 1 << 3,
+  PHOTOS_DEBUG_MEMORY     = 1 << 4,
+  PHOTOS_DEBUG_NETWORK    = 1 << 5,
+  PHOTOS_DEBUG_THUMBNAILER = 1 << 6,
+  PHOTOS_DEBUG_TRACKER    = 1 << 7
 } PhotosDebugFlags;
 
 void        photos_debug_init          (void);


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