[cheese/fixes] Set G_LOG_DOMAIN for libcheese and libcheese-gtk



commit 3d6ff7266ec13ce0113bb1a5093e032c37e152cd
Author: David King <amigadave amigadave com>
Date:   Wed Jul 25 17:01:11 2012 +0100

    Set G_LOG_DOMAIN for libcheese and libcheese-gtk
    
    Define the logging domain for the GLib logging system, so that messages
    are prefixed with the name of the library.

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 311e144..4f270c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -79,6 +79,7 @@ libcheese_gtk_la_CFLAGS = \
 
 libcheese_gtk_la_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
+	-DG_LOG_DOMAIN=\"cheese-gtk\" \
 	-I$(top_builddir)/libcheese \
 	-I$(top_srcdir)/libcheese \
 	-I$(top_srcdir)/src
@@ -117,6 +118,7 @@ libcheese_la_CFLAGS = \
 
 libcheese_la_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
+	-DG_LOG_DOMAIN=\"cheese\" \
 	-I$(top_builddir)/libcheese \
 	-I$(top_srcdir)/libcheese
 



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