[telepathy-mission-control/master] McdClientProxy: make _mcd_client_proxy_get_channel_filter_cb and McdClientInterface static

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Sep 23 10:49:49 PDT 2009


---
 src/mcd-client-priv.h |    9 ---------
 src/mcd-client.c      |    9 ++++++++-
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/mcd-client-priv.h b/src/mcd-client-priv.h
index 9abee13..6d66efe 100644
--- a/src/mcd-client-priv.h
+++ b/src/mcd-client-priv.h
@@ -108,15 +108,6 @@ G_GNUC_INTERNAL void _mcd_client_proxy_become_incapable (McdClientProxy *self);
 G_GNUC_INTERNAL GValueArray *_mcd_client_proxy_dup_handler_capabilities (
     McdClientProxy *self);
 
-typedef enum
-{
-    MCD_CLIENT_APPROVER,
-    MCD_CLIENT_HANDLER,
-    MCD_CLIENT_OBSERVER
-} McdClientInterface;
-
-G_GNUC_INTERNAL void _mcd_client_proxy_get_channel_filter_cb (TpProxy *proxy,
-    const GValue *value, const GError *error, gpointer user_data, GObject *o);
 G_GNUC_INTERNAL void _mcd_client_proxy_get_interfaces_cb (TpProxy *proxy,
     const GValue *out_Value, const GError *error,
     gpointer user_data G_GNUC_UNUSED, GObject *weak_object G_GNUC_UNUSED);
diff --git a/src/mcd-client.c b/src/mcd-client.c
index 251a055..d40c303 100644
--- a/src/mcd-client.c
+++ b/src/mcd-client.c
@@ -97,6 +97,13 @@ struct _McdClientProxyPrivate
     GList *observer_filters;
 };
 
+typedef enum
+{
+    MCD_CLIENT_APPROVER,
+    MCD_CLIENT_HANDLER,
+    MCD_CLIENT_OBSERVER
+} McdClientInterface;
+
 void
 _mcd_client_proxy_inc_ready_lock (McdClientProxy *self)
 {
@@ -642,7 +649,7 @@ finally:
     _mcd_client_proxy_dec_ready_lock (self);
 }
 
-void
+static void
 _mcd_client_proxy_get_channel_filter_cb (TpProxy *proxy,
                                          const GValue *value,
                                          const GError *error,
-- 
1.5.6.5




More information about the telepathy-commits mailing list