--- a/pep_mood.c Mon May 21 03:38:51 2012 +0300
+++ b/pep_mood.c Mon May 21 19:10:25 2012 +0300
@@ -31,7 +31,7 @@
#include <mcabber/modules.h>
#include "pep.h"
-#include "mood.h"
+#include "pep_mood.h"
#include "config.h"
@@ -42,7 +42,7 @@
void pep_mood_init (void);
void pep_mood_uninit (void);
-#define DESCRIPTION ( "PEP mood events handling" )
+#define DESCRIPTION ( PEP_MOOD_DESCRIPTION )
static const gchar *deps[] = { "pep", NULL };
@@ -118,7 +118,7 @@
return LM_HANDLER_RESULT_REMOVE_MESSAGE;
}
-void mood_publish (const gchar *mood, const gchar *text)
+static void mood_publish (const gchar *mood, const gchar *text)
{
if (!xmpp_is_online ()) {
scr_log_print (LPRINT_DEBUG, "mood: Delaying publish until online.");
@@ -167,7 +167,7 @@
lm_message_unref (request);
}
-gboolean mood_request ( const gchar *to, GError **err )
+gboolean pep_mood_request ( const gchar *to, GError **err )
{
LmMessage *request;
LmMessageNode *node;