aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-11-21 21:58:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-21 21:58:58 +0800
commitbe896d0dbf713bb7a8abcc317d52b95b4d6623a9 (patch)
tree3d342b7eaa981da7ab9b67928ce325128359272d
parentd62de5ec41b47c695b8a5fabba27576cd640837b (diff)
downloadgsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar.gz
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar.bz2
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar.lz
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar.xz
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.tar.zst
gsoc2013-empathy-be896d0dbf713bb7a8abcc317d52b95b4d6623a9.zip
set_size_request on the video_container to ensure the window has a sane minimum size.
https://bugzilla.gnome.org/show_bug.cgi?id=664313
-rw-r--r--src/empathy-call-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index b57952337..732f45e8a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1717,6 +1717,9 @@ 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);
+
/* Set the background color to that of the rest of the window */
context = gtk_widget_get_style_context (priv->content_hbox);
gtk_style_context_get_background_color (context,