diff src/media.c @ 12034:bad5f83e7f22

[gaim-migrate @ 14327] whitespace cleanup in configure.ac, make sure HAVE_VV is #define'd if it's enabled and fix up some compile warnings in media.c now that #ifdef HAVE_VV actually has a chance of succeeding. /me thinks Sean must have been adding -DHAVE_VV to his CFLAGS to make this build at all before committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 10 Nov 2005 14:30:28 +0000
parents e67993da8a22
children 90d7e0f342fa
line wrap: on
line diff
--- a/src/media.c	Wed Nov 09 22:09:11 2005 +0000
+++ b/src/media.c	Thu Nov 10 14:30:28 2005 +0000
@@ -23,6 +23,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include "internal.h"
+
 #ifdef HAVE_VV
 
 #include "media.h"
@@ -180,7 +182,7 @@
 void gaim_voice_chat_set_state(GaimVoiceChat *vc, GaimMediaState state)
 {
 	vc->state = state;
-	printf("State: %d\n",vc);
+	printf("State: %d\n",state);
 	if (media_ui_ops)
 		media_ui_ops->state_change(vc, state);
 }
@@ -196,7 +198,7 @@
 	return vc->timer;
 }
 
-void *gaim_voice_chat_start_streams(GaimVoiceChat *vc)
+void gaim_voice_chat_start_streams(GaimVoiceChat *vc)
 {
 	GaimConnection *gc = gaim_voice_chat_get_connection(vc);
 	GaimPluginProtocolInfo *prpl_info = NULL;