summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gmain.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-09-01 18:02:06 +0000
committerHavoc Pennington <hp@redhat.com>2003-09-01 18:02:06 +0000
commit7b4ac5de11d90e9f7048f057d70d3da5104388b6 (patch)
treebe84573a98cefb71d8054e5c0a9939a9dc2bcbcc /glib/dbus-gmain.c
parentfdb114e5cce2790fd3c68cfa13113c7b59b83e4e (diff)
2003-09-01 Havoc Pennington <hp@pobox.com>
* glib/Makefile.am: rearrange a bunch of files and get "make check" framework set up
Diffstat (limited to 'glib/dbus-gmain.c')
-rw-r--r--glib/dbus-gmain.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c
index 9b14049d..36c6c6b4 100644
--- a/glib/dbus-gmain.c
+++ b/glib/dbus-gmain.c
@@ -21,8 +21,9 @@
*
*/
+#include <config.h>
#include "dbus-glib.h"
-#include <glib.h>
+#include "dbus-gtest.h"
/**
* @defgroup DBusGLib GLib bindings
@@ -491,3 +492,19 @@ dbus_server_setup_with_g_main (DBusServer *server,
}
/** @} */ /* end of public API */
+
+#ifdef DBUS_BUILD_TESTS
+
+/**
+ * @ingroup DBusGLibInternals
+ * Unit test for GLib main loop integration
+ * @returns #TRUE on success.
+ */
+dbus_bool_t
+_dbus_gmain_test (const char *test_data_dir)
+{
+
+ return TRUE;
+}
+
+#endif /* DBUS_BUILD_TESTS */