[sound-juicer] Remove dbus use from mb-test.c
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Remove dbus use from mb-test.c
- Date: Sun, 19 Feb 2012 20:48:32 +0000 (UTC)
commit 0faf8a42614cc808982ed55f1ff1149b13dc9489
Author: Christophe Fergeau <cfergeau redhat com>
Date: Sun Jan 22 12:51:40 2012 +0100
Remove dbus use from mb-test.c
265a47a removed dbus use from sound-juicer. In particular,
DBUS_CFLAGS and DBUS_LIBS are no longer defined, so mb-test fails
to link because it calls one dbus init function. This call is
no longer needed since s-j stopped using dbus.
https://bugzilla.gnome.org/show_bug.cgi?id=670397
tests/Makefile.am | 2 --
tests/mb-test.c | 3 ---
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3bb530b..dbb1c13 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,13 +15,11 @@ mb_test_CFLAGS = \
$(GSTREAMER_CFLAGS) \
$(BURN_CFLAGS) \
$(UI_CFLAGS) \
- $(DBUS_CFLAGS) \
$(AM_CPPFLAGS)
mb_test_LDADD = \
$(BURN_LIBS) \
$(UI_LIBS) \
- $(DBUS_LIBS) \
$(top_builddir)/libjuicer/libjuicer.la
mb_test_LDFLAGS = \
diff --git a/tests/mb-test.c b/tests/mb-test.c
index 127d33c..1e63049 100644
--- a/tests/mb-test.c
+++ b/tests/mb-test.c
@@ -2,7 +2,6 @@
#include <brasero-medium-monitor.h>
#include <glib.h>
#include <gconf/gconf-client.h>
-#include <dbus/dbus.h>
#include <stdlib.h>
#include "sj-structures.h"
#include "sj-metadata.h"
@@ -98,8 +97,6 @@ int main (int argc, char** argv)
GError *error = NULL;
BraseroMediumMonitor *monitor;
- dbus_threads_init_default ();
-
g_type_init ();
g_thread_init (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]