--- a/pep_activity.c Mon May 21 03:38:51 2012 +0300
+++ b/pep_activity.c Mon May 21 19:10:25 2012 +0300
@@ -31,7 +31,7 @@
#include <mcabber/xmpp_helper.h>
#include "pep.h"
-#include "activity.h"
+#include "pep_activity.h"
#include "config.h"
@@ -42,7 +42,8 @@
void pep_activity_init (void);
void pep_activity_uninit (void);
-#define DESCRIPTION ( "PEP activity support" )
+#define DESCRIPTION ( PEP_ACTIVITY_DESCRIPTION )
+
static const gchar *deps[] = { "pep", NULL };
static module_info_t info_activity_dev = {
@@ -129,7 +130,7 @@
return LM_HANDLER_RESULT_REMOVE_MESSAGE;
}
-void activity_publish (const gchar *major, const gchar *minor, const gchar *text)
+static void activity_publish (const gchar *major, const gchar *minor, const gchar *text)
{
if (!xmpp_is_online ()) {
g_free (activity_major);
@@ -183,7 +184,7 @@
lm_message_unref (request);
}
-gboolean activity_request ( const gchar *to, GError **err )
+gboolean pep_activity_request ( const gchar *to, GError **err )
{
LmMessage *request;
LmMessageNode *node;