summaryrefslogtreecommitdiff
path: root/clutter-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'clutter-gtk')
-rw-r--r--clutter-gtk/gtk-clutter-actor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clutter-gtk/gtk-clutter-actor.c b/clutter-gtk/gtk-clutter-actor.c
index 3000025..947a58c 100644
--- a/clutter-gtk/gtk-clutter-actor.c
+++ b/clutter-gtk/gtk-clutter-actor.c
@@ -340,11 +340,12 @@ static void
gtk_clutter_actor_hide (ClutterActor *self)
{
GtkClutterActorPrivate *priv = GTK_CLUTTER_ACTOR (self)->priv;
+ GtkWidget *widget;
CLUTTER_ACTOR_CLASS (gtk_clutter_actor_parent_class)->hide (self);
/* proxy this call through to GTK+ */
- GtkWidget *widget = gtk_bin_get_child (GTK_BIN (priv->widget));
+ widget = gtk_bin_get_child (GTK_BIN (priv->widget));
if (widget != NULL)
gtk_widget_hide (widget);