aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-video-widget.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-03-09 04:18:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-09 04:18:47 +0800
commite43d20edae8b5bac6c1232842360918dce595573 (patch)
tree738edabf135c51a92556f90154fe407f9a91eb51 /libempathy-gtk/empathy-video-widget.c
parent2283d38637adf2d7d00572ba5a81bba0f6e9560c (diff)
downloadgsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar.gz
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar.bz2
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar.lz
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar.xz
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.tar.zst
gsoc2013-empathy-e43d20edae8b5bac6c1232842360918dce595573.zip
Redraw the video widget if there is no underlying overlay
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2643
Diffstat (limited to 'libempathy-gtk/empathy-video-widget.c')
-rw-r--r--libempathy-gtk/empathy-video-widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 605039f3f..5b76257f4 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -380,7 +380,11 @@ empathy_video_widget_expose_event (GtkWidget *widget, GdkEventExpose *event)
return TRUE;
if (priv->overlay == NULL)
- return TRUE;
+ {
+ gdk_window_clear_area (widget->window, 0, 0,
+ widget->allocation.width, widget->allocation.height);
+ return TRUE;
+ }
gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (priv->overlay),
GDK_WINDOW_XID (widget->window));