changeset 12046:2901da400741

[gaim-migrate @ 14341] Ethan's going to like this commit message: Foo. Ok, so I made it compile those bits, you know, the bits that were missing. And I added something, or moved something around a bit, to make the compiler be a bit quieter, and stuff. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 12 Nov 2005 02:42:14 +0000
parents f610bde6966e
children 0b7ec6a106d5
files src/gtkmedia.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkmedia.c	Sat Nov 12 00:26:19 2005 +0000
+++ b/src/gtkmedia.c	Sat Nov 12 02:42:14 2005 +0000
@@ -23,9 +23,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include "internal.h"
+
 #ifdef HAVE_VV
 
-#include "internal.h"
+#include "debug.h"
 #include "gtkconv.h"
 #include "gtkmedia.h"
 
@@ -46,8 +48,8 @@
 {
 	GaimConversation *conv = gaim_conversation_new(GAIM_CONV_TYPE_IM, gaim_connection_get_account(gaim_voice_chat_get_connection(vc)),
 						       gaim_voice_chat_get_name(vc));
+	GaimGtkVoiceChat *gvc = (GaimGtkVoiceChat*)gaim_voice_chat_get_ui_data(vc);
 	gaim_conversation_write(conv, NULL, _("Call ended."), GAIM_MESSAGE_SYSTEM, time(NULL));
-	GaimGtkVoiceChat *gvc = (GaimGtkVoiceChat*)gaim_voice_chat_get_ui_data(vc);
 	gtk_widget_destroy(gvc->call_pane);
 	g_free(gvc);
 }