diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-11 11:32:37 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-11 11:34:10 -0400 |
commit | b9e39fc6812d06769bbeec491e6dc2b71d697599 (patch) | |
tree | 5794b6df0046d99d160ec12ada842471660db101 /engine | |
parent | 8b238d78d86068b1c5d002865d59ffb906f0432f (diff) | |
download | dconf-b9e39fc6812d06769bbeec491e6dc2b71d697599.tar.gz |
dbus test: add function to initialise for testing
We were hardcoding g_type_init() in the D-Bus testcase because the GDBus
backend depended on that happening. That is not true for the libdbus-1
backend, so split it out into a separate function implemeneted by the
backend.
Diffstat (limited to 'engine')
-rw-r--r-- | engine/dconf-engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/dconf-engine.h b/engine/dconf-engine.h index 9335e02..0128f8b 100644 --- a/engine/dconf-engine.h +++ b/engine/dconf-engine.h @@ -39,6 +39,8 @@ typedef enum #define DCONF_ERROR (g_quark_from_static_string ("dconf error quark")) /* These functions need to be implemented by the client library */ +G_GNUC_INTERNAL +void dconf_engine_dbus_init_for_testing (void); /* Sends a D-Bus message. * |