empathy r2643 - trunk/libempathy-gtk



Author: xclaesse
Date: Sun Mar  8 20:18:47 2009
New Revision: 2643
URL: http://svn.gnome.org/viewvc/empathy?rev=2643&view=rev

Log:
Redraw the video widget if there is no underlying overlay

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/libempathy-gtk/empathy-video-widget.c

Modified: trunk/libempathy-gtk/empathy-video-widget.c
==============================================================================
--- trunk/libempathy-gtk/empathy-video-widget.c	(original)
+++ trunk/libempathy-gtk/empathy-video-widget.c	Sun Mar  8 20:18:47 2009
@@ -380,7 +380,11 @@
     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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]