Mercurial > pidgin
comparison plugins/musicmessaging/musicmessaging.c @ 11418:29aaa7d29015
[gaim-migrate @ 13655]
Fixed for proper use.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Muise <christian.muise@gmail.com> |
---|---|
date | Fri, 02 Sep 2005 02:54:21 +0000 |
parents | a9ec436535bc |
children | ac07cafacb05 |
comparison
equal
deleted
inserted
replaced
11417:a9ec436535bc | 11418:29aaa7d29015 |
---|---|
480 static void music_button_toggled (GtkWidget *widget, gpointer data) | 480 static void music_button_toggled (GtkWidget *widget, gpointer data) |
481 { | 481 { |
482 MMConversation *mmconv = mmconv_from_conv(((MMConversation *) data)->conv); | 482 MMConversation *mmconv = mmconv_from_conv(((MMConversation *) data)->conv); |
483 if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))) | 483 if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))) |
484 { | 484 { |
485 //if (((MMConversation *) data)->requested) | 485 if (((MMConversation *) data)->requested) |
486 //{ | 486 { |
487 if (!mmconv){ g_printerr("DEBUG: About to bust\n"); } | |
488 start_session(mmconv); | 487 start_session(mmconv); |
489 send_request_confirmed(mmconv); | 488 send_request_confirmed(mmconv); |
490 /*} | 489 } |
491 else | 490 else |
492 { | 491 { |
493 ((MMConversation *) data)->originator = TRUE; | 492 ((MMConversation *) data)->originator = TRUE; |
494 send_request((MMConversation *) data); | 493 send_request((MMConversation *) data); |
495 }*/ | 494 } |
496 } else { | 495 } else { |
497 session_end((MMConversation *)data); | 496 session_end((MMConversation *)data); |
498 } | 497 } |
499 } | 498 } |
500 | 499 |