tmp_list=tmp_list->next;
gtk_layout_remove (GtkContainer *container, 		   GtkWidget    *widget){  GList *tmp_list;  GtkLayout *layout;  GtkLayoutChild *child;    g_return_if_fail (container != NULL);  g_return_if_fail (GTK_IS_LAYOUT (container));    layout = GTK_LAYOUT (container);  tmp_list = layout->children;  while (tmp_list)    {      child = tmp_list->data;      if (child->widget == widget)	break;    }  if (tmp_list)    {      if (child->window)	{	  /* FIXME: This will cause problems for reparenting NO_WINDOW	   * widgets out of a GtkLayout	   */	  gdk_window_set_user_data (child->window, NULL);	  gdk_window_destroy (child->window);	}      gtk_widget_unparent (widget);      layout->children = g_list_remove_link (layout->children, tmp_list);      g_list_free_1 (tmp_list);      g_free (child);    }}