[totem] main: Work-around video widget warnings on first show
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Work-around video widget warnings on first show
- Date: Thu, 30 Jan 2014 18:30:25 +0000 (UTC)
commit f3103d6c4e2232c403d216eb055fc9bd89950e95
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 30 19:28:16 2014 +0100
main: Work-around video widget warnings on first show
src/totem-object.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index a4ec8ae..58bcb69 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3775,6 +3775,10 @@ video_widget_create (TotemObject *totem)
gtk_widget_show (GTK_WIDGET (totem->bvw));
totem_preferences_visuals_setup (totem);
+
+ /* FIXME: Otherwise we get a visible but
+ * not realized widget ?!?! */
+ gtk_widget_realize (GTK_WIDGET (totem->bvw));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]