aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-29 18:09:15 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-29 18:09:15 +0800
commit89afdf6b8941ac525104cfb54f10174d6cb7dbcf (patch)
tree4d0c6fb601709c4d1501fe6135b2efb0b922bcdd /src
parenta19f10561bf7ad86ff9f688f78df6a9df7a13899 (diff)
downloadgsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar.gz
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar.bz2
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar.lz
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar.xz
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.tar.zst
gsoc2013-empathy-89afdf6b8941ac525104cfb54f10174d6cb7dbcf.zip
audio-src,mic-menu: use DEBUG macros
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/empathy-audio-src.c5
-rw-r--r--src/empathy-mic-menu.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index 5487fead3..4c1072c44 100644
--- a/src/empathy-audio-src.c
+++ b/src/empathy-audio-src.c
@@ -31,6 +31,9 @@
#include "src-marshal.h"
+#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
+#include <libempathy/empathy-debug.h>
+
G_DEFINE_TYPE(EmpathyGstAudioSrc, empathy_audio_src, GST_TYPE_BIN)
/* signal enum */
@@ -314,7 +317,7 @@ empathy_audio_src_pa_subscribe_cb (pa_context *context,
void *userdata)
{
if (!success)
- g_debug ("Failed to subscribe to PulseAudio events");
+ DEBUG ("Failed to subscribe to PulseAudio events");
}
static void
diff --git a/src/empathy-mic-menu.c b/src/empathy-mic-menu.c
index 3ebd31c27..dc3d0f006 100644
--- a/src/empathy-mic-menu.c
+++ b/src/empathy-mic-menu.c
@@ -25,6 +25,9 @@
#include "empathy-mic-menu.h"
+#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
+#include <libempathy/empathy-debug.h>
+
struct _EmpathyMicMenuPrivate
{
/* Borrowed ref; the call window actually owns us. */
@@ -134,7 +137,7 @@ empathy_mic_menu_change_mic_cb (GObject *source_object,
if (!empathy_audio_src_change_microphone_finish (audio, result, &error))
{
- g_debug ("Failed to change microphone: %s", error->message);
+ DEBUG ("Failed to change microphone: %s", error->message);
g_clear_error (&error);
/* We call update here because if this change operation failed
@@ -319,7 +322,7 @@ empathy_mic_menu_get_microphones_cb (GObject *source_object,
if (error != NULL)
{
- g_debug ("Failed to get microphone list: %s", error->message);
+ DEBUG ("Failed to get microphone list: %s", error->message);
g_clear_error (&error);
return;
}