diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2013-09-02 22:25:09 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2013-09-02 22:25:09 +0200 |
commit | c5f30f471a805035703e821924022c872713b231 (patch) | |
tree | 4af6a5a7a75abfcddbcaaa4b615f410cb72d363f | |
parent | aa408a1204307d4e82c22877772448c3252a7a59 (diff) |
mi: set the log domain
-rw-r--r-- | HACKING | 4 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | vapi/config.vapi | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,3 @@ - = Releases = - bump version in configure.ac @@ -29,3 +28,6 @@ - update web-page += Hacking = + +use G_MESSAGES_DEBUG="gst-mi" to see the logging diff --git a/src/Makefile.am b/src/Makefile.am index a36453e..fe7489e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,6 +3,7 @@ bin_PROGRAMS = gst-mi INCLUDES = \ -include config.h \ $(MI_CFLAGS) \ + -DG_LOG_DOMAIN=\"gst-mi\" \ -DLOCALEDIR=\""$(localedir)"\" \ -DPKGDATADIR=\""$(pkgdatadir)"\" \ -DPKGLIBDIR=\""$(pkglibdir)"\" diff --git a/vapi/config.vapi b/vapi/config.vapi index f130479..79c027d 100644 --- a/vapi/config.vapi +++ b/vapi/config.vapi @@ -11,6 +11,7 @@ namespace Config /* Configured paths - these variables are not present in config.h, they are * passed to underlying C code as cmd line macros. */ + public const string G_LOG_DOMAIN; public const string LOCALEDIR; /* /usr/local/share/locale */ public const string PKGDATADIR; /* /usr/local/share/gst-mi */ public const string PKGLIBDIR; /* /usr/local/lib/gst-mi */ |