[telepathy-gabble/master] gabble_pubsub_event_handler: no need to be a public function

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 25 02:29:52 PDT 2009


---
 src/pubsub.c |    2 +-
 src/pubsub.h |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/pubsub.c b/src/pubsub.c
index 4d50b62..d72b9e5 100644
--- a/src/pubsub.c
+++ b/src/pubsub.c
@@ -48,7 +48,7 @@ static const GabblePubsubEventHandler pubsub_event_handlers[] =
     { NULL, NULL}
 };
 
-gboolean
+static gboolean
 gabble_pubsub_event_handler (GabbleConnection *conn, LmMessage *msg,
     TpHandle handle)
 {
diff --git a/src/pubsub.h b/src/pubsub.h
index 1edc576..2ecc403 100644
--- a/src/pubsub.h
+++ b/src/pubsub.h
@@ -29,10 +29,6 @@ typedef gboolean (* GabblePubsubEventHandlerFunction) (GabbleConnection *conn,
                                                        TpHandle handle);
 
 gboolean
-gabble_pubsub_event_handler (GabbleConnection *conn, LmMessage *msg,
-    TpHandle handle);
-
-gboolean
 pubsub_query (GabbleConnection *conn, const gchar *jid, const gchar *ns,
     GabbleConnectionMsgReplyFunc reply_func, gpointer user_data);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list