summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-30 18:54:45 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 12:20:31 +0100
commite55ad3ab74b75b7392a914a8bab31012aaa7b347 (patch)
treeece4b9653f00d532957c1964616d1df0641b783f
parent0b234d2d8c5049a3d87ec1cbabcb8f9b1833035a (diff)
Move TpDebugClient generated code to cli-misc.[ch] and don't document it
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46835 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--docs/reference/telepathy-glib-sections.txt8
-rw-r--r--telepathy-glib/cli-misc.c1
-rw-r--r--telepathy-glib/cli-misc.h2
-rw-r--r--telepathy-glib/debug-client.c2
-rw-r--r--telepathy-glib/debug-client.h2
5 files changed, 7 insertions, 8 deletions
diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 0df6d6dde..c04ac7676 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -5942,10 +5942,6 @@ TpBaseMediaCallChannelPrivate
<SUBSECTION>
TpDebugClient
TpDebugClientClass
-tp_cli_debug_call_get_messages
-tp_cli_debug_callback_for_get_messages
-tp_cli_debug_connect_to_new_debug_message
-tp_cli_debug_signal_callback_new_debug_message
tp_debug_client_init_known_interfaces
tp_debug_client_new
tp_debug_client_set_enabled_async
@@ -5963,6 +5959,10 @@ tp_debug_client_get_type
tp_debug_client_get_feature_quark_core
<SUBSECTION Private>
TpDebugClientPrivate
+tp_cli_debug_call_get_messages
+tp_cli_debug_callback_for_get_messages
+tp_cli_debug_connect_to_new_debug_message
+tp_cli_debug_signal_callback_new_debug_message
</SECTION>
<SECTION>
diff --git a/telepathy-glib/cli-misc.c b/telepathy-glib/cli-misc.c
index e65334ec5..4479109d1 100644
--- a/telepathy-glib/cli-misc.c
+++ b/telepathy-glib/cli-misc.c
@@ -39,5 +39,6 @@
#include "telepathy-glib/_gen/tp-cli-client-body.h"
#include "telepathy-glib/_gen/tp-cli-connection-manager-body.h"
#include "telepathy-glib/_gen/tp-cli-dbus-daemon-body.h"
+#include "telepathy-glib/_gen/tp-cli-debug-body.h"
#include "telepathy-glib/_gen/tp-cli-generic-body.h"
#include "telepathy-glib/_gen/tp-cli-protocol-body.h"
diff --git a/telepathy-glib/cli-misc.h b/telepathy-glib/cli-misc.h
index 9efc661c7..1dc079b8f 100644
--- a/telepathy-glib/cli-misc.h
+++ b/telepathy-glib/cli-misc.h
@@ -29,6 +29,7 @@
#include <telepathy-glib/channel-request.h>
#include <telepathy-glib/client.h>
#include <telepathy-glib/connection-manager.h>
+#include <telepathy-glib/debug-client.h>
#include <telepathy-glib/protocol.h>
#include <telepathy-glib/proxy.h>
@@ -40,6 +41,7 @@
#include <telepathy-glib/_gen/tp-cli-client.h>
#include <telepathy-glib/_gen/tp-cli-connection-manager.h>
#include <telepathy-glib/_gen/tp-cli-dbus-daemon.h>
+#include <telepathy-glib/_gen/tp-cli-debug.h>
#include <telepathy-glib/_gen/tp-cli-generic.h>
#include <telepathy-glib/_gen/tp-cli-protocol.h>
diff --git a/telepathy-glib/debug-client.c b/telepathy-glib/debug-client.c
index 84115e5f3..f536e98df 100644
--- a/telepathy-glib/debug-client.c
+++ b/telepathy-glib/debug-client.c
@@ -35,8 +35,6 @@
#include "telepathy-glib/proxy-internal.h"
#include "telepathy-glib/util-internal.h"
-#include "telepathy-glib/_gen/tp-cli-debug-body.h"
-
/**
* SECTION:debug-client
* @title: TpDebugClient
diff --git a/telepathy-glib/debug-client.h b/telepathy-glib/debug-client.h
index 861be0370..bcd3ebed5 100644
--- a/telepathy-glib/debug-client.h
+++ b/telepathy-glib/debug-client.h
@@ -86,6 +86,4 @@ GPtrArray * tp_debug_client_get_messages_finish (TpDebugClient *self,
G_END_DECLS
-#include <telepathy-glib/_gen/tp-cli-debug.h>
-
#endif