diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-04-05 11:48:52 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-04-05 12:02:22 +0100 |
commit | c9fb6db8ce510ef033d73a0384dbfa57881c931e (patch) | |
tree | 44dc304d9f839ec7887aaad9d77d0bd15c3478b8 /clutter-gtk | |
parent | e726ce909f7a246c7b63512ca4133a138387031d (diff) | |
download | clutter-gtk-c9fb6db8ce510ef033d73a0384dbfa57881c931e.tar.gz |
Fix a C99-ism in GtkClutterActor
Diffstat (limited to 'clutter-gtk')
-rw-r--r-- | clutter-gtk/gtk-clutter-actor.c | 3 |
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); |