Commit 3c7ebd1a authored by Debarshi Ray's avatar Debarshi Ray

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.
parent ecc70354
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment