[totem] browser-plugin: Fix warning for hidden plugin
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] browser-plugin: Fix warning for hidden plugin
- Date: Fri, 11 Apr 2014 08:49:53 +0000 (UTC)
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]