diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 62d6a2f3cc..bdb8e9570f 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -230,12 +230,14 @@ gtk_fixed_put (GtkFixed *fixed, gint x, gint y) { - GtkFixedPrivate *priv = fixed->priv; + GtkFixedPrivate *priv; GtkFixedChild *child_info; g_return_if_fail (GTK_IS_FIXED (fixed)); g_return_if_fail (GTK_IS_WIDGET (widget)); + priv = fixed->priv; + child_info = g_new (GtkFixedChild, 1); child_info->widget = widget; child_info->x = x;