aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-05-08 06:52:42 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-09 15:10:09 +0800
commitd3e20304bf68216c268e2c7db0a2a081b8d3a197 (patch)
tree962037441a05fa4409b2f0f4f628dc02b1426a6c /src/empathy-call-window.c
parent4723b7016072a1cd4f41dfddcf990d97d68def36 (diff)
downloadgsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar.gz
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar.bz2
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar.lz
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar.xz
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.tar.zst
gsoc2013-empathy-d3e20304bf68216c268e2c7db0a2a081b8d3a197.zip
video-widget: Remove as it is now unused
It was only used by empathy-av. Move the #defines to call-window where they are used. https://bugzilla.gnome.org/show_bug.cgi?id=675647
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 02dcd6df6..56f999d99 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -61,7 +61,6 @@
#include "empathy-call-window.h"
#include "empathy-call-window-fullscreen.h"
#include "empathy-call-factory.h"
-#include "empathy-video-widget.h"
#include "empathy-about-dialog.h"
#include "empathy-audio-src.h"
#include "empathy-audio-sink.h"
@@ -77,6 +76,9 @@
#define CONTENT_HBOX_SPACING 3
#define CONTENT_HBOX_CHILDREN_PACKING_PADDING 3
+#define REMOTE_VIDEO_DEFAULT_WIDTH 320
+#define REMOTE_VIDEO_DEFAULT_HEIGHT 240
+
#define SELF_VIDEO_SECTION_WIDTH 120
#define SELF_VIDEO_SECTION_HEIGHT 90
#define SELF_VIDEO_SECTION_MARGIN 2
@@ -87,9 +89,8 @@
/* The avatar's default width and height are set to the same value because we
want a square icon. */
-#define REMOTE_CONTACT_AVATAR_DEFAULT_WIDTH EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT
-#define REMOTE_CONTACT_AVATAR_DEFAULT_HEIGHT \
- EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT
+#define REMOTE_CONTACT_AVATAR_DEFAULT_HEIGHT REMOTE_VIDEO_DEFAULT_HEIGHT
+#define REMOTE_CONTACT_AVATAR_DEFAULT_WIDTH REMOTE_VIDEO_DEFAULT_HEIGHT
#define SMALL_TOOLBAR_SIZE 36
@@ -1655,7 +1656,7 @@ empathy_call_window_init (EmpathyCallWindow *self)
priv->video_container = gtk_clutter_embed_new ();
gtk_widget_set_size_request (priv->video_container,
- EMPATHY_VIDEO_WIDGET_DEFAULT_WIDTH, EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT);
+ REMOTE_VIDEO_DEFAULT_WIDTH, REMOTE_VIDEO_DEFAULT_HEIGHT);
/* Set the background color to that of the rest of the window */
context = gtk_widget_get_style_context (priv->content_hbox);