summaryrefslogtreecommitdiff
path: root/clutter-gtk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-04-05 11:48:52 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-04-05 12:02:22 +0100
commitc9fb6db8ce510ef033d73a0384dbfa57881c931e (patch)
tree44dc304d9f839ec7887aaad9d77d0bd15c3478b8 /clutter-gtk
parente726ce909f7a246c7b63512ca4133a138387031d (diff)
downloadclutter-gtk-c9fb6db8ce510ef033d73a0384dbfa57881c931e.tar.gz
Fix a C99-ism in GtkClutterActor
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);