empathy r1024 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1024 - trunk/src
- Date: Mon, 21 Apr 2008 15:18:31 +0100 (BST)
Author: xclaesse
Date: Mon Apr 21 14:18:31 2008
New Revision: 1024
URL: http://svn.gnome.org/viewvc/empathy?rev=1024&view=rev
Log:
Fix warning when changing send video button before accepting the call.
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Mon Apr 21 14:18:31 2008
@@ -179,12 +179,15 @@
EmpathyCallWindow *window)
{
gboolean is_sending;
+ guint status;
is_sending = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
empathy_debug (DEBUG_DOMAIN, "Send video toggled - %d", is_sending);
- empathy_tp_call_request_video_stream_direction (window->call, is_sending);
+ g_object_get (window->call, "status", &status, NULL);
+ if (status == EMPATHY_TP_CALL_STATUS_ACCEPTED)
+ empathy_tp_call_request_video_stream_direction (window->call, is_sending);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]