tune.c
changeset 31 e404cd1c7077
parent 29 23fa36d480fb
child 35 a77a8e7ab8ae
--- a/tune.c	Mon May 21 03:38:51 2012 +0300
+++ b/tune.c	Mon May 21 19:10:25 2012 +0300
@@ -29,7 +29,7 @@
 #include <mcabber/hooks.h>
 #include <mcabber/modules.h>
 
-#include "tune.h"
+#include "pep_tune.h"
 
 #include "config.h"
 
@@ -40,10 +40,7 @@
 void tune_init   (void);
 void tune_uninit (void);
 
-#define DESCRIPTION ( \
-	"User interface for PEP tune events\n" \
-	"Prints incoming notifications into buddies buffers\n" \
-	"Provides command /tune" )
+#define DESCRIPTION ( TUNE_DESCRIPTION )
 
 static const gchar *deps[] = { "pep_tune", NULL };
 
@@ -113,7 +110,7 @@
 
 		GError *error = NULL;
 
-		tune_request ( CURRENT_JID, &error );
+		pep_tune_request ( CURRENT_JID, &error );
 		if ( error ) {
 			scr_log_print ( LPRINT_NORMAL, "Error sending request: %s.", error -> message );
 			g_error_free ( error );