[gnome-photos] debug: Add a debug flag to track the application's lifetime
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] debug: Add a debug flag to track the application's lifetime
- Date: Mon, 12 Jun 2017 21:56:42 +0000 (UTC)
commit 1e83d0757d196959396853d1b222938a0b2a9a54
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jun 8 15:30:06 2017 +0200
debug: Add a debug flag to track the application's lifetime
src/photos-debug.c | 1 +
src/photos-debug.h | 13 +++++++------
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-debug.c b/src/photos-debug.c
index ccef6e3..2d06ed5 100644
--- a/src/photos-debug.c
+++ b/src/photos-debug.c
@@ -37,6 +37,7 @@ photos_debug_init (void)
{
const GDebugKey keys[] =
{
+ { "application", PHOTOS_DEBUG_APPLICATION },
{ "dlna", PHOTOS_DEBUG_DLNA },
{ "gegl", PHOTOS_DEBUG_GEGL },
{ "memory", PHOTOS_DEBUG_MEMORY },
diff --git a/src/photos-debug.h b/src/photos-debug.h
index 9f1959f..4df0426 100644
--- a/src/photos-debug.h
+++ b/src/photos-debug.h
@@ -28,12 +28,13 @@ G_BEGIN_DECLS
typedef enum
{
- PHOTOS_DEBUG_DLNA = 1 << 0,
- PHOTOS_DEBUG_GEGL = 1 << 1,
- PHOTOS_DEBUG_MEMORY = 1 << 2,
- PHOTOS_DEBUG_NETWORK = 1 << 3,
- PHOTOS_DEBUG_THUMBNAILER = 1 << 4,
- PHOTOS_DEBUG_TRACKER = 1 << 5
+ 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
} PhotosDebugFlags;
void photos_debug_init (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]