[ekiga] x-videooutput: fix code style
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] x-videooutput: fix code style
- Date: Tue, 25 Dec 2012 21:03:03 +0000 (UTC)
commit 4a431e5d834a96b78b90ccf7433b36e20ab899f5
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date: Tue Oct 2 19:06:19 2012 +0200
x-videooutput: fix code style
No functional changes.
https://bugzilla.gnome.org/show_bug.cgi?id=687775
.../x-videooutput/videooutput-manager-x.cpp | 48 +++++++++----------
1 files changed, 23 insertions(+), 25 deletions(-)
---
diff --git a/lib/engine/components/x-videooutput/videooutput-manager-x.cpp b/lib/engine/components/x-videooutput/videooutput-manager-x.cpp
index 66ff256..234beca 100644
--- a/lib/engine/components/x-videooutput/videooutput-manager-x.cpp
+++ b/lib/engine/components/x-videooutput/videooutput-manager-x.cpp
@@ -86,32 +86,30 @@ GMVideoOutputManager_x::~GMVideoOutputManager_x ()
bool
GMVideoOutputManager_x::frame_display_change_needed ()
{
- switch (current_frame.mode)
- {
- case Ekiga::VO_MODE_LOCAL:
- if (!lxWindow)
- return true;
- break;
- case Ekiga::VO_MODE_REMOTE:
- if (!rxWindow)
- return true;
- break;
- case Ekiga::VO_MODE_FULLSCREEN:
- case Ekiga::VO_MODE_PIP:
- case Ekiga::VO_MODE_PIP_WINDOW:
- if (!rxWindow || (pip_window_available && (!lxWindow)) )
- return true;
- break;
- case Ekiga::VO_MODE_REMOTE_EXT:
- if (!exWindow)
- return true;
- break;
- case Ekiga::VO_MODE_UNSET:
- default:
- break;
- }
+ switch (current_frame.mode) {
+ case Ekiga::VO_MODE_LOCAL:
+ if (!lxWindow)
+ return true;
+ break;
+ case Ekiga::VO_MODE_REMOTE:
+ if (!rxWindow)
+ return true;
+ break;
+ case Ekiga::VO_MODE_FULLSCREEN:
+ case Ekiga::VO_MODE_PIP:
+ case Ekiga::VO_MODE_PIP_WINDOW:
+ if (!rxWindow || (pip_window_available && (!lxWindow)) )
+ return true;
+ break;
+ case Ekiga::VO_MODE_REMOTE_EXT:
+ if (!exWindow)
+ return true;
+ break;
+ case Ekiga::VO_MODE_UNSET:
+ default:
+ break;
+ }
return GMVideoOutputManager::frame_display_change_needed ();
-
}
XWindow *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]