geoloc.c
changeset 31 e404cd1c7077
parent 29 23fa36d480fb
child 35 a77a8e7ab8ae
--- a/geoloc.c	Mon May 21 03:38:51 2012 +0300
+++ b/geoloc.c	Mon May 21 19:10:25 2012 +0300
@@ -32,7 +32,7 @@
 #include <mcabber/hooks.h>
 #include <mcabber/modules.h>
 
-#include "geoloc.h"
+#include "pep_geoloc.h"
 
 #include "config.h"
 
@@ -43,9 +43,7 @@
 void geoloc_init   (void);
 void geoloc_uninit (void);
 
-#define DESCRIPTION ( \
-	"PEP geoloc event handling\n" \
-	"Provides command /geoloc" )
+#define DESCRIPTION ( GEOLOC_DESCRIPTION )
 
 static const gchar *deps[] = { "pep_geoloc", NULL };
 
@@ -119,7 +117,7 @@
 
 		GError *error = NULL;
 
-		geoloc_request ( CURRENT_JID, &error );
+		pep_geoloc_request ( CURRENT_JID, &error );
 		if ( error ) {
 			scr_log_print ( LPRINT_NORMAL, "Error sending request: %s.", error -> message );
 			g_error_free ( error );