GLib wrappers can't be used in C++

Miloslav Trmac mitr@volny.cz
Wed, 18 Jun 2003 20:47:58 +0200


Hello,
per #dbus bug report.
	Mirek

--- dbus/glib/dbus-glib.h	Thu Apr 24 04:22:49 2003
+++ dbus-glib.h	Wed Jun 18 20:38:12 2003
@@ -26,10 +26,14 @@
 #include <dbus/dbus.h>
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 void dbus_gthread_init                 (void);
 void dbus_connection_setup_with_g_main (DBusConnection *connection,
 					GMainContext   *context);
 void dbus_server_setup_with_g_main     (DBusServer     *server,
 					GMainContext   *context);
 
+G_END_DECLS
+
 #endif /* DBUS_GLIB_H */