aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 22:03:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-24 22:03:34 +0800
commit6194ec132dd41e33856767a2d4c3744438916e8e (patch)
tree3df85da24e18124d97c72bdacdd1b0816c60cd1d
parent24a7e1a69082dceea87e4f2a4c70667f17b19637 (diff)
downloadgsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar.gz
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar.bz2
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar.lz
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar.xz
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.tar.zst
gsoc2013-empathy-6194ec132dd41e33856767a2d4c3744438916e8e.zip
empathy-call-window.c: update priv->sending_video *before* changing widget's state
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 01c2c4f5c..49ad14142 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1166,10 +1166,10 @@ empathy_call_window_camera_toggled_cb (GtkToggleToolButton *toggle,
if (priv->sending_video == active)
return;
+ priv->sending_video = active;
empathy_call_window_set_send_video (window, active);
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (priv->send_video), active);
- priv->sending_video = active;
}
static void
@@ -1183,11 +1183,11 @@ empathy_call_window_send_video_toggled_cb (GtkToggleAction *toggle,
if (priv->sending_video == active)
return;
+ priv->sending_video = active;
empathy_call_window_set_send_video (window, active);
gtk_toggle_tool_button_set_active (
GTK_TOGGLE_TOOL_BUTTON (priv->camera_button), active);
- priv->sending_video = active;
}
static void