aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-video-widget.c
diff options
context:
space:
mode:
authorJonathan Tellier <jonathan.tellier@gmail.com>2009-05-21 01:49:02 +0800
committerjtellier <jonathan.tellier@collabora.co.uk>2009-05-26 22:47:22 +0800
commit72720c392da5917088cc95a5fc5dd4e7ce56a4d1 (patch)
treeb5d7195a4fa484ec7887d61bc91fd72d88f294ed /libempathy-gtk/empathy-video-widget.c
parentfdd5d6bcf95255cad8f4573d262abe1532a0f912 (diff)
downloadgsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar.gz
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar.bz2
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar.lz
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar.xz
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.tar.zst
gsoc2013-empathy-72720c392da5917088cc95a5fc5dd4e7ce56a4d1.zip
When no video is received or sent we show contacts' avatars instead of showing
black widgets.
Diffstat (limited to 'libempathy-gtk/empathy-video-widget.c')
-rw-r--r--libempathy-gtk/empathy-video-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 4c7bee9db..7647b845f 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -263,14 +263,14 @@ empathy_video_widget_class_init (
param_spec = g_param_spec_int ("min-width",
"min-width",
"Minimal width of the widget",
- 0, G_MAXINT, 320,
+ 0, G_MAXINT, EMPATHY_VIDEO_WIDGET_DEFAULT_WIDTH,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_MIN_WIDTH, param_spec);
param_spec = g_param_spec_int ("min-height",
"min-height",
"Minimal height of the widget",
- 0, G_MAXINT, 240,
+ 0, G_MAXINT, EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_MIN_HEIGHT, param_spec);