diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-03-05 19:14:14 -0500 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-03-05 19:14:14 -0500 |
commit | 2e38a7026491595e6837fa8c02e077584fc71b71 (patch) | |
tree | 1b04b9458c51c72ea3e69b72a6ae95abc4d0d68a /libck-connector | |
parent | a9a48c07142025841a69da6fc30c6a1fbd29727a (diff) |
fix the example code
Diffstat (limited to 'libck-connector')
-rw-r--r-- | libck-connector/ck-connector.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libck-connector/ck-connector.c b/libck-connector/ck-connector.c index 97ab9b9..34a8657 100644 --- a/libck-connector/ck-connector.c +++ b/libck-connector/ck-connector.c @@ -493,9 +493,13 @@ out: * * @code * + * DBusError error; * dbus_int32_t v_INT32 = 500; * const char *v_STRING = "/dev/tty3"; + * + * dbus_error_init (&error); * ck_connector_open_session_with_parameters (connector, + * &error, * "user", &v_INT32, * "display-device", &v_STRING, * NULL); |