[Telepathy-commits] [telepathy-doc/master] 2008-12-15 Murray Cumming <murrayc at murrayc.com>
Murray Cumming
murrayc at murrayc.com
Mon Dec 15 07:09:12 PST 2008
* configure.ac:
* docs/examples/Makefile.am
* docs/examples/set_presence/: Added a (nonworking) example of
setting presence, by copying the connect example and adding a call.
---
ChangeLog | 7 +++++++
configure.ac | 1 +
docs/examples/Makefile.am | 2 +-
docs/examples/connect/main.c | 2 +-
docs/examples/list_all_protocols/main.c | 2 +-
docs/examples/list_contacts/main.c | 2 +-
6 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 393a214..7838dcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-15 Murray Cumming <murrayc at murrayc.com>
+
+ * configure.ac:
+ * docs/examples/Makefile.am
+ * docs/examples/set_presence/: Added a (nonworking) example of
+ setting presence, by copying the connect example and adding a call.
+
2008-12-01 Murray Cumming <murrayc at murrayc.com>
* docs/examples/list_contacts/main.c: Use *_call_* functions instead
diff --git a/configure.ac b/configure.ac
index f056c50..01cdba7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,7 @@ AC_OUTPUT([
docs/examples/connect/Makefile
docs/examples/list_all_protocols/Makefile
docs/examples/list_contacts/Makefile
+ docs/examples/set_presence/Makefile
docs/book/Makefile
])
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index e3f8b55..326a940 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/docs/Makefile_web.am_fragment
-example_dirs = connect list_all_protocols list_contacts
+example_dirs = connect list_all_protocols list_contacts set_presence
SUBDIRS = $(example_dirs)
diff --git a/docs/examples/connect/main.c b/docs/examples/connect/main.c
index 82731da..4c6eb22 100644
--- a/docs/examples/connect/main.c
+++ b/docs/examples/connect/main.c
@@ -198,7 +198,7 @@ main (int argc, char **argv)
other telepathy clients that use the default jabber
resource name. */
value = tp_g_value_slice_new (G_TYPE_STRING);
- g_value_set_static_string (value, "telepathy-doc list_contacts example");
+ g_value_set_static_string (value, "telepathy-doc connect example");
g_hash_table_insert (parameters, "resource", value);
/* Call RequestConnection; it will return asynchronously by calling got_connection */
diff --git a/docs/examples/list_all_protocols/main.c b/docs/examples/list_all_protocols/main.c
index 035ffe4..937e0fe 100644
--- a/docs/examples/list_all_protocols/main.c
+++ b/docs/examples/list_all_protocols/main.c
@@ -141,7 +141,7 @@ on_list_connection_managers(TpConnectionManager * const *connection_managers,
* then be followed by a got-info signal.
*/
- /* TODO: See mailing list discussion about the awkwardness of the asynchronous API here:
+ /* TODO: See mailing list discussion about the awkwardness of the asynchronous API here: */
/* TODO: How do we know when the last signal has been emitted, so
* we can unreference the mainloop.
*/
diff --git a/docs/examples/list_contacts/main.c b/docs/examples/list_contacts/main.c
index ab1fe9a..ddc9e6a 100644
--- a/docs/examples/list_contacts/main.c
+++ b/docs/examples/list_contacts/main.c
@@ -77,7 +77,7 @@ void on_connection_get_contacts_by_handle (TpConnection *connection,
disconnect();
}
-void on_connection_request_channel(TpConnection *proxy,
+void on_connection_request_channel (TpConnection *proxy,
const gchar *channel_dbus_path,
const GError *error,
gpointer user_data,
--
1.5.6.5
More information about the Telepathy-commits
mailing list