[liboobs] Bug 615603 - Require libdbus-1 and don't include dbus.h



commit 0aeeeb946b5242c26ad7a9ae9811bed8628950a1
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Tue Apr 13 12:57:34 2010 +0200

    Bug 615603 - Require libdbus-1 and don't include dbus.h
    
    We don't expose D-Bus in public API, so don't include dbus.h in our public headers. Add dbus-1 to our pkg-config file as a private dependency, since it's absolutely needed to build liboobs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=615603

 liboobs-1.pc.in    |    1 +
 oobs/oobs-object.h |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/liboobs-1.pc.in b/liboobs-1.pc.in
index 96713d1..296f31b 100644
--- a/liboobs-1.pc.in
+++ b/liboobs-1.pc.in
@@ -8,5 +8,6 @@ Description: Object Oriented Backends System
 Version: @VERSION@
 
 Requires: glib-2.0 gobject-2.0
+Requires.private: dbus-1
 Libs: -L${libdir} -loobs-1
 Cflags: -I${includedir}/liboobs-1.0
diff --git a/oobs/oobs-object.h b/oobs/oobs-object.h
index d1524bc..16dd8f5 100644
--- a/oobs/oobs-object.h
+++ b/oobs/oobs-object.h
@@ -24,7 +24,6 @@
 G_BEGIN_DECLS
 
 #include <glib-object.h>
-#include <dbus/dbus.h>
 #include "oobs-result.h"
 
 #define OOBS_TYPE_OBJECT         (oobs_object_get_type ())



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