diff options
author | Havoc Pennington <hp@redhat.com> | 2003-09-01 18:02:06 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-09-01 18:02:06 +0000 |
commit | 7b4ac5de11d90e9f7048f057d70d3da5104388b6 (patch) | |
tree | be84573a98cefb71d8054e5c0a9939a9dc2bcbcc /glib/dbus-gmain.c | |
parent | fdb114e5cce2790fd3c68cfa13113c7b59b83e4e (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.c | 19 |
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 */ |