[cheese] Set G_LOG_DOMAIN for libcheese and libcheese-gtk
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Set G_LOG_DOMAIN for libcheese and libcheese-gtk
- Date: Wed, 1 Aug 2012 21:14:31 +0000 (UTC)
commit 0d53b648f830fff015e8803ca1056cae37a5e2b4
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]