[empathy] empathy-call-window.c: update priv->sending_video *before* changing widget's state
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] empathy-call-window.c: update priv->sending_video *before* changing widget's state
- Date: Fri, 24 Apr 2009 10:47:49 -0400 (EDT)
commit 6194ec132dd41e33856767a2d4c3744438916e8e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Apr 24 15:03:34 2009 +0100
empathy-call-window.c: update priv->sending_video *before* changing widget's state
---
src/empathy-call-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 01c2c4f..49ad141 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]