[gnome-photos/wip/rishi/thumbnailer: 2/6] debug: Add a debug flag for thumbnailer-related messages



commit d5e6e2cb039bd80474ebcd42094996354f3f260c
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Feb 10 18:27:13 2017 +0100

    debug: Add a debug flag for thumbnailer-related messages
    
    Logging the communication between the application and the thumbnailer
    will make it easier to debug inter-process problems.

 src/photos-debug.c |    1 +
 src/photos-debug.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-debug.c b/src/photos-debug.c
index a176776..ccef6e3 100644
--- a/src/photos-debug.c
+++ b/src/photos-debug.c
@@ -41,6 +41,7 @@ photos_debug_init (void)
       { "gegl", PHOTOS_DEBUG_GEGL },
       { "memory", PHOTOS_DEBUG_MEMORY },
       { "network", PHOTOS_DEBUG_NETWORK },
+      { "thumbnailer", PHOTOS_DEBUG_THUMBNAILER },
       { "tracker", PHOTOS_DEBUG_TRACKER }
     };
   const gchar *debug_string;
diff --git a/src/photos-debug.h b/src/photos-debug.h
index 230e80f..9f1959f 100644
--- a/src/photos-debug.h
+++ b/src/photos-debug.h
@@ -32,7 +32,8 @@ typedef enum
   PHOTOS_DEBUG_GEGL       = 1 << 1,
   PHOTOS_DEBUG_MEMORY     = 1 << 2,
   PHOTOS_DEBUG_NETWORK    = 1 << 3,
-  PHOTOS_DEBUG_TRACKER    = 1 << 4
+  PHOTOS_DEBUG_THUMBNAILER = 1 << 4,
+  PHOTOS_DEBUG_TRACKER    = 1 << 5
 } PhotosDebugFlags;
 
 void        photos_debug_init          (void);


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