summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-09-10 21:32:38 +0800
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-09-10 21:32:38 +0800
commitfb332e0b727fe93acf6e60532ee0093f426810d0 (patch)
tree825c611f627dffa85139f21f25f799851c39c977 /action.c
parent8c26079a7c8e099c04040cf719912e9c93f5d007 (diff)
downloadwiimote-fb332e0b727fe93acf6e60532ee0093f426810d0.tar.gz
wiimote-fb332e0b727fe93acf6e60532ee0093f426810d0.tar.bz2
* ABI Update
Diffstat (limited to 'action.c')
-rw-r--r--action.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/action.c b/action.c
index b44379c..2ad0bfa 100644
--- a/action.c
+++ b/action.c
@@ -80,7 +80,7 @@ wiimoteToggle (CompDisplay *d,
sendInfoToPlugin (d, arg, nArg,
"prompt",
"display_text");
- compLogMessage (d, "wiimote", CompLogLevelInfo,
+ compLogMessage ("wiimote", CompLogLevelInfo,
"Hold down the 1 and 2 Buttons on your Nintendo Wii Remote now");
/* Create the second thread. */
rc = pthread_create(&ad->cWiimote[ad->nWiimote].connectWiimote, &secondThreadAttr, connectWiimote, (void *)d);
@@ -124,7 +124,7 @@ wiimoteDisable (CompDisplay *d,
rc = pthread_join(ad->cWiimote[ad->nWiimote -1].connectWiimote, NULL);
if (rc)
- compLogMessage (d, "wiimote", CompLogLevelError,
+ compLogMessage ("wiimote", CompLogLevelError,
"Threading error occurred.\n");
/* Remove timeout handles */
@@ -142,10 +142,10 @@ wiimoteDisable (CompDisplay *d,
/* Tell the user that we are closing the connection */
- compLogMessage (d, "wiimote", CompLogLevelInfo,
+ compLogMessage ("wiimote", CompLogLevelInfo,
"Closing connection to most recently connected Wii Remote\n");
if (cwiid_close(ad->cWiimote[ad->nWiimote - 1].wiimote)) {
- compLogMessage (d, "wiimote", CompLogLevelError,
+ compLogMessage ("wiimote", CompLogLevelError,
"Error closing that connection\n");
return -1;
}