[clutter-gtk] Don't explicitly unrealize widget in clutter_actor_unrealize
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] Don't explicitly unrealize widget in clutter_actor_unrealize
- Date: Tue, 22 May 2012 14:46:12 +0000 (UTC)
commit 154cdc9701b923ff2412d4c99ac5c43e4514f8d4
Author: Alexander Larsson <alexl redhat com>
Date: Tue May 22 11:59:45 2012 +0200
Don't explicitly unrealize widget in clutter_actor_unrealize
We rely on the implicit unrealize in the gtk_container_remove call as
otherwise we'll temporarily be in a state where we can breaking the
gtk+ invariant that the child (GtkClutterActor) is visible but
non-mapped while the parent (GtkClutterEmbed) is mapped.
https://bugzilla.gnome.org/show_bug.cgi?id=675867
clutter-gtk/gtk-clutter-actor.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-actor.c b/clutter-gtk/gtk-clutter-actor.c
index 0e282da..95dc971 100644
--- a/clutter-gtk/gtk-clutter-actor.c
+++ b/clutter-gtk/gtk-clutter-actor.c
@@ -163,8 +163,6 @@ gtk_clutter_actor_unrealize (ClutterActor *actor)
if (priv->widget == NULL)
return;
- gtk_widget_unrealize (priv->widget);
-
priv->surface = NULL;
g_object_ref (priv->widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]