Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/plugins/musicmessaging/musicmessaging.c Fri Sep 02 00:40:22 2005 +0000 +++ b/plugins/musicmessaging/musicmessaging.c Fri Sep 02 02:54:21 2005 +0000 @@ -482,17 +482,16 @@ MMConversation *mmconv = mmconv_from_conv(((MMConversation *) data)->conv); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))) { - //if (((MMConversation *) data)->requested) - //{ - if (!mmconv){ g_printerr("DEBUG: About to bust\n"); } + if (((MMConversation *) data)->requested) + { start_session(mmconv); send_request_confirmed(mmconv); - /*} + } else { ((MMConversation *) data)->originator = TRUE; send_request((MMConversation *) data); - }*/ + } } else { session_end((MMConversation *)data); }