[totem] browser-plugin: Fix warning for hidden plugin



commit 23ff9ed641915e1dfe55ca4e51c1136df005cf73
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 11 10:40:47 2014 +0200

    browser-plugin: Fix warning for hidden plugin
    
    Fix warning on startup when we're not being embedded, we
    can't realise an unanchored window.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693092

 browser-plugin/totem-plugin-viewer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index b0c2887..4598faa 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -1724,8 +1724,6 @@ totem_embedded_construct (TotemEmbedded *emb,
        container = GTK_WIDGET (gtk_builder_get_object (emb->xml, "video_box"));
 
        gtk_container_add (GTK_CONTAINER (container), GTK_WIDGET (emb->bvw));
-       /* FIXME: why can't this wait until the whole window is realised? */
-       gtk_widget_realize (GTK_WIDGET (emb->bvw));
        gtk_widget_show (GTK_WIDGET (emb->bvw));
 
        /* FIXME disable video decoding when hidden */


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