[gnome-photos] build: Define a log domain



commit 67344f3736dae58a1f5b2b6806da1679999bfc7b
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jul 21 16:12:06 2017 +0200

    build: Define a log domain
    
    Both GdkPixbuf and Tracker spew copious amounts of debug messages with
    G_MESSAGES_DEBUG=all. It makes it hard to follow those coming from the
    application itself. Specifying a log domain will allow us to
    differentiate application logs from the rest.

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 28229a9..fdaab97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,9 @@ GOA_MIN_VERSION=3.8.0
 GRILO_MIN_VERSION=0.3.0
 GTK_MIN_VERSION=3.22.16
 
+G_LOG_DOMAIN=AC_PACKAGE_TARNAME
+AC_DEFINE_UNQUOTED([G_LOG_DOMAIN], ["$G_LOG_DOMAIN"], [Log domain])
+
 AX_REQUIRE_DEFINED([IT_PROG_INTLTOOL])
 IT_PROG_INTLTOOL([0.50.1])
 


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