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



commit 14c2089963e23e7138e13b8c14f61849c13153ca
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 a6c3da85..2a9e2f51 100644
--- a/src/photos-debug.c
+++ b/src/photos-debug.c
@@ -38,6 +38,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 c71e3b5d..9ed03b7f 100644
--- a/src/photos-debug.h
+++ b/src/photos-debug.h
@@ -29,10 +29,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]