[glib] gmessages: Tweak docs for G_LOG_DOMAIN to use AM_CPPFLAGS



commit 6ac2e8c79a012e2d43292efdbd3250de31abff47
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed May 13 15:22:57 2015 +0100

    gmessages: Tweak docs for G_LOG_DOMAIN to use AM_CPPFLAGS
    
    Instead of INCLUDES, which is deprecated in automake. Using AM_CPPFLAGS
    also gives the hint that the -D argument should be a CPPFLAGS variable,
    rather than CFLAGS.

 glib/gmessages.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index c1b5622..5342596 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -106,7 +106,7 @@
  *
  * For example, GTK+ uses this in its Makefile.am:
  * |[
- * INCLUDES = -DG_LOG_DOMAIN=\"Gtk\"
+ * AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gtk\"
  * ]|
  */
 


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